コード例 #1
0
 public bool CreateReview(Review review)
 {
     _reviewContext.AddAsync(review);
     return(Save());
 }
コード例 #2
0
 public bool CreateReviewer(Reviewer reviewer)
 {
     _reviewerContext.AddAsync(reviewer);
     return(Save());
 }
コード例 #3
0
        public bool CreateCategory(Category category)
        {
            _categoryContext.AddAsync(category);

            return(Save());
        }
コード例 #4
0
        public bool CreateCountry(Country country)
        {
            _countryContext.AddAsync(country);

            return(Save());
        }