예제 #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());
 }