public PZServices() { _db = new PZRepoContext(); _restaurantService = new RestaurantService(new RestaurantRepo(_db)); _reviewService = new ReviewService(new ReviewRepo(_db)); //UpdateAverageRating(); }
public ApplicationBuilder() { var db = new PZRepoContext(); }