public ContractOrganizationServices(IRepositoryMongo <Organization>
                                     repository, IValidatorStrategy <ContractOrganization> validatorInstance)
 {
     _repositoryInstance = repository;
     _validatorInstance  = validatorInstance;
     _adapter            = new OrganizationToContractOrganizationAdapter();
 }
Ejemplo n.º 2
0
 public DueDetailDataService(IRepositoryMongo <TermDetail> repositoryInstance, IValidatorStrategy <DueDetail>
                             validatorInstance)
 {
     _repositoryInstance = repositoryInstance;
     _validatorInstance  = validatorInstance;
     _adapter            = new OrganizationToContractOrganizationAdapter();
 }