public IEnumerable <Customers_Profile> GetCustomers() { IEnumerable <Customers_Profile> customerList; using (db = new DataContextBill(constr)) { customerList = db.Customers_Profiles.ToList(); } return(customerList); }
public CustomerRepository() { db = new DataContextBill(constr); }
public SellerProfileRepository() { db = new DataContextBill(constr); }
public ArticleRepository() { db = new DataContextBill(constr); }
public BillingRepository() { db = new DataContextBill(constr); }