Пример #1
0
 public bool CreateCountry(Country country)
 {
     _bookDBContext.AddAsync(country);
     return(Save());
 }
Пример #2
0
 public bool CreateAuthor(Author author)
 {
     _bookDBContext.AddAsync(author);
     return(Save());
 }
Пример #3
0
 public bool CreateCategory(Category category)
 {
     _bookDBContext.AddAsync(category);
     return(Save());
 }
Пример #4
0
 public bool CreateReview(Review review)
 {
     _reviewRepository.AddAsync(review);
     return(Save());
 }