private void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (_context != null)
         {
             _context.Dispose();
             _context = null;
         }
     }
 }
 public ProductRepository(StoreDataContext context)
 {
     _context = context;
 }
 public UnitOfWork(StoreDataContext context)
 {
     _context = context;
 }
 public OrderRepository(StoreDataContext context)
 {
     _context = context;
 }