Ejemplo n.º 1
0
 public ChargeService(IUnitOfWorkForService unitOfWork)
 {
     _unitOfWork = unitOfWork;
     _ChargeRepository = new Repository<Charge>(db);
     ChargeRepository = new RepositoryQuery<Charge>(_ChargeRepository);
 }
 public SaleInvoiceReturnHeaderService(IUnitOfWorkForService unitOfWork)
 {
     _unitOfWork = unitOfWork;
     _SaleInvoiceReturnHeaderRepository = new Repository <SaleInvoiceReturnHeader>(db);
     SaleInvoiceReturnHeaderRepository  = new RepositoryQuery <SaleInvoiceReturnHeader>(_SaleInvoiceReturnHeaderRepository);
 }
Ejemplo n.º 3
0
 public PersonContactService(IUnitOfWorkForService unitOfWork)
 {
     _unitOfWork = unitOfWork;
     _PersonContactRepository = new Repository <PersonContact>(db);
     PersonContactRepository  = new RepositoryQuery <PersonContact>(_PersonContactRepository);
 }
Ejemplo n.º 4
0
 public LedgerAccountService(IUnitOfWorkForService unitOfWork)
 {
     _unitOfWork = unitOfWork;
     _LedgerAccountRepository = new Repository <LedgerAccount>(db);
     LedgerAccountRepository  = new RepositoryQuery <LedgerAccount>(_LedgerAccountRepository);
 }
 public JobConsumptionSettingsService(IUnitOfWorkForService unitOfWork)
 {
     _unitOfWork = unitOfWork;
     _JobConsumptionSettingsRepository = new Repository <JobConsumptionSettings>(db);
     JobConsumptionSettingsRepository  = new RepositoryQuery <JobConsumptionSettings>(_JobConsumptionSettingsRepository);
 }