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