/**
  * Store a newly created BrandOwner in storage.
  *
  * @param CreateBrandOwnerRequest $request
  *
  * @return Response
  */
 public function store(CreateBrandOwnerRequest $request)
 {
     $input = $request->all();
     $brandOwner = $this->brandOwnerRepository->create($input);
     Flash::success('Brand Owner saved successfully.');
     return redirect()->back();
 }
 /**
  * Remove the specified BrandOwner from storage.
  *
  * @param  int $id
  *
  * @return Response
  */
 public function destroy($id)
 {
     $brandOwner = $this->brandOwnerRepository->findWithoutFail($id);
     if (empty($brandOwner)) {
         Flash::error('BrandOwner not found');
         return redirect(route('brandOwners.index'));
     }
     $this->brandOwnerRepository->delete($id);
     Flash::success('BrandOwner deleted successfully.');
     return redirect(route('brandOwners.index'));
 }