public IQueryable <northwinddb.Models.Customer> GetCustomers ([Service] northwinddb.Context.NorthWindDBContext dBContext, string customerId) { return(dBContext.Customers.Where(customer => customer.CustomerId.Equals(customerId)).AsQueryable()); }
public IQueryable <northwinddb.Models.Employee> GetEmployees([Service] northwinddb.Context.NorthWindDBContext dBContext) { return(dBContext.Employees.AsQueryable()); }