public async Task <bool> CreateAuthorsBooks(AuthorsBooksModel item)
        {
            var mapper = Mapper.Map <DAL.Entity.AuthorsBooks>(item);

            return(Mapper.Map <bool>(await _repository.Create(mapper)));
        }
 public Task <bool> Update(AuthorsBooksModel item)
 {
     throw new NotImplementedException();
 }
        public async Task <IActionResult> AddAuthorsBooks(AuthorsBooksModel authorsBooks)
        {
            await _authorsBooksService.CreateAuthorsBooks(authorsBooks);

            return(Redirect("~/Home/Index"));
        }