public function store(CategoriesRequest $request)
 {
     Category::create($request->all());
     return redirect()->back();
     //
 }
 public function update(Requests\CategoriesRequest $request, $id)
 {
     $this->categories->find($id)->update($request->all());
     return redirect()->route('categories');
 }