예제 #1
0
 public UserRepository(RestaurantReviewContext context)
 {
     this.dbContext = context ?? throw new ArgumentNullException(nameof(context));
 }
예제 #2
0
 public ReviewRepository(RestaurantReviewContext dbContext)
     : base(dbContext)
 {
 }
 public GenericRepository(RestaurantReviewContext dbContext)
 {
     this.dbContext = dbContext;
 }