public EfProductRepository(CacantaContext context) : base(context)
 {
 }
 public EfOrderRepository(CacantaContext ctx)
 {
     context = ctx;
 }
Exemple #3
0
 public EfCategoryRepository(CacantaContext context) : base(context)
 {
 }
Exemple #4
0
 public EfUnitOfWork(CacantaContext _dbContext)
 {
     dbContext = _dbContext ?? throw new ArgumentNullException("dbcontext can not be null");
 }