public Provider GetProviderByGID(Guid gid) { using (var context = new ProductionDBContext()) { return(null); } }
public List <Product> Get() { using (var context = new ProductionDBContext()) { var a = context.Products .Include(p => p.ProductCategory) .Include(p => p.ProductsProviders) .ToList(); return(context.Products .Include(p => p.ProductCategory) .Include(p => p.ProductsProviders) .ToList()); } }
public void DeleteProvider(Provider provider) { using (var context = new ProductionDBContext()) { } }