// GET: Customer public ActionResult Index() { var Dbcontext = new NorthWindDbContext(); var customer = Dbcontext.Customers .OrderBy(c => c.City); return(View(customer)); }
public CategoriesController(NorthWindDbContext context) { _context = context; }
public EmployeeRepository(NorthWindDbContext ctx) { _ctx = ctx; }
private SupplierService() { _context = new NorthWindDbContext(); }
public ProductsController(NorthWindDbContext context) { _context = context; }
public SqlCategoriesData(NorthWindDbContext context) { _context = context; }
public EmployeeService() { _context = new NorthWindDbContext(); }
public SqlSupplierData(NorthWindDbContext context) { _context = context; }
public SqlProductData(NorthWindDbContext context) { _context = context; }