//DI and Autofac use SqlRestaurantData(OTFoodDbContext db) public SqlRestaurantData(OTFoodDbContext db) { this.db = db; }