public function noticehistory()
 {
     $notice = new Notice();
     $result = $notice->all();
     return view('oms.pages.noticehistory')->with('result', $result);
 }
 public function index()
 {
     $notices = $this->user->notices;
     return Notice::all();
 }