/**
  * Remove the specified portfolio album from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     $portfolio = PortfolioAlbum::find($id);
     //delete folder and Photos from server
     $this->dispatch(new DeleteFolderFileCommand(public_path("assets/images/portfolio_albums/" . $id)));
     //delete from database
     PortfolioAlbumPhoto::where("portfolio_album_id", "=", $id)->delete();
     $portfolio->delete();
     return redirect('/admin/dashboard/portfolio')->with('message', FlashMessage::DisplayAlert('Successfully deleted album!', 'success'));
 }
 /**
  * returns the ID and Names of all portfolio albums
  */
 public function getAllPortfolioAlbums()
 {
     return response()->json(PortfolioAlbum::all());
 }