Exemplo n.º 1
0
        public ReviewController(YelpContext context)
        {
            // Dapper framework connections
            // _dbConnector = connect;
            // userFactory = new UserFactory();

            // Entity Framework connections
            _context = context;
        }
Exemplo n.º 2
0
 public BusinessController(
     YelpContext context,
     IHostingEnvironment env,
     IOptions <GoogleMapSettings> googlemapsettings
     )
 {
     // Entity Framework connections
     _context    = context;
     _env        = env;
     _googlemaps = googlemapsettings;
 }
Exemplo n.º 3
0
 public ReviewController(YelpContext context)
 {
     // Entity Framework connections
     _context = context;
 }
Exemplo n.º 4
0
 public SearchController(YelpContext context)
 {
     // Entity Framework connections
     _context = context;
 }
 public RestaurantsController(YelpContext db)
 {
     _db = db;
 }
Exemplo n.º 6
0
 public ReviewsController(YelpContext db)
 {
     _db = db;
 }
Exemplo n.º 7
0
 public CuisinesController(YelpContext db)
 {
     _db = db;
 }