public bool CreateAuthor(Author author)
 {
     _authorContext.Add(author);
     return(Save());
 }
 public bool CreateReview(Review review)
 {
     _reviewContext.Add(review);
     return(Save());
 }
Ejemplo n.º 3
0
 public bool CreateCategory(Category category)
 {
     _categoryContext.Add(category);
     return(Save());
 }
 public bool CreateReviewer(Reviewer reviewer)
 {
     _ReviewerContext.Add(reviewer);
     return(Save());
 }
Ejemplo n.º 5
0
 public bool CreateCountry(Country country)
 {
     //to create country we use Add method and then return Save() method to confirm the creation
     _countryContext.Add(country);
     return(Save());
 }