Example #1
0
 public SuppliersService(IBaseService <damco_supplier> damcoSupplierRepository, IBaseService <damco_supplier_rate> damcoSupplierRateRepository, DamcoContext context)
 {
     _damcoSupplierRepository     = damcoSupplierRepository;
     _damcoSupplierRateRepository = damcoSupplierRateRepository;
     _context = context;
 }
Example #2
0
 public BaseService(DamcoContext context)
 {
     this.context = context;
     entities     = context.Set <T>();
 }