public RestaurantRepository(ProjectZeroDbContext context) { this.context = context; }
public RestaurantRepository(ProjectZeroDbContext context, IReviewerRepository reviewerRepository) { _context = context; _reviewerRepository = reviewerRepository; }
public ReviewerRepository(ProjectZeroDbContext context) { _context = context; }
public void init() { context = new ProjectZeroDbContext(); }