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