コード例 #1
0
ファイル: ReviewController.cs プロジェクト: jxxparker/Yelp
        public ReviewController(YelpContext context)
        {
            // Dapper framework connections
            // _dbConnector = connect;
            // userFactory = new UserFactory();

            // Entity Framework connections
            _context = context;
        }
コード例 #2
0
ファイル: BusinessController.cs プロジェクト: chyates/Yelp
 public BusinessController(
     YelpContext context,
     IHostingEnvironment env,
     IOptions <GoogleMapSettings> googlemapsettings
     )
 {
     // Entity Framework connections
     _context    = context;
     _env        = env;
     _googlemaps = googlemapsettings;
 }
コード例 #3
0
 public ReviewController(YelpContext context)
 {
     // Entity Framework connections
     _context = context;
 }
コード例 #4
0
ファイル: SearchController.cs プロジェクト: jdaniel0x50/Yelp
 public SearchController(YelpContext context)
 {
     // Entity Framework connections
     _context = context;
 }
コード例 #5
0
 public RestaurantsController(YelpContext db)
 {
     _db = db;
 }
コード例 #6
0
 public ReviewsController(YelpContext db)
 {
     _db = db;
 }
コード例 #7
0
 public CuisinesController(YelpContext db)
 {
     _db = db;
 }