public ReviewController(YelpContext context) { // Dapper framework connections // _dbConnector = connect; // userFactory = new UserFactory(); // Entity Framework connections _context = context; }
public BusinessController( YelpContext context, IHostingEnvironment env, IOptions <GoogleMapSettings> googlemapsettings ) { // Entity Framework connections _context = context; _env = env; _googlemaps = googlemapsettings; }
public ReviewController(YelpContext context) { // Entity Framework connections _context = context; }
public SearchController(YelpContext context) { // Entity Framework connections _context = context; }
public RestaurantsController(YelpContext db) { _db = db; }
public ReviewsController(YelpContext db) { _db = db; }
public CuisinesController(YelpContext db) { _db = db; }