public function delete($id)
 {
     Eboard::destroy($id);
     return redirect()->route('admin.eboard.index')->with('success', 'Position Deleted!');
 }
Example #2
0
 public function contact()
 {
     $eboard = Eboard::all();
     return view('contact', ['eboard' => $eboard]);
 }