public static List <Order> returnOrders() { using (humbleEntities context = new humbleEntities()) { return(context.Orders.ToList()); } }
public static List <Product> returnProducts() { using (humbleEntities context = new humbleEntities()) { return(context.Products.ToList()); } }
public static List <Category> returnCategories() { using (humbleEntities context = new humbleEntities()) { return(context.Categories.ToList()); } }