public function store(Request $request)
 {
     if (SemesterEventType::where('name', $request->name)->count()) {
         return redirect()->route('ac.semestereventtypes.index')->with('warning', 'لا يمكن تسمية نفس الاسم');
     }
     $type = new SemesterEventType();
     $type->fill($request->all());
     $type->save();
     if ($request->input('submit') == 'save') {
         return redirect()->back()->with('success');
     }
     return redirect()->route('ac.semestereventtypes.index');
 }
 public function store(SEtype $SEtype, validationRequest $request)
 {
     $input = $request->all();
     $SEtype->fill($input)->save();
     return redirect()->route('ac.semestereventtypes.index');
 }