Example #1
0
 public Provider GetProviderByGID(Guid gid)
 {
     using (var context = new ProductionDBContext())
     {
         return(null);
     }
 }
Example #2
0
 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());
     }
 }
Example #3
0
 public void DeleteProvider(Provider provider)
 {
     using (var context = new ProductionDBContext())
     {
     }
 }