public function store(Request $request)
{
$this->checkPermission('book-create-all');
$this->validate($request, ['name' => 'required|string|max:255', 'description' => 'string|max:1000']);
$book = $this->bookRepo->createFromInput($request->all());
Activity::add($book, 'book_create', $book->id);
return redirect($book->getUrl());
}