public EmployeeController(IEmployeeService employeeService,
                           IPersonService personService,
                           IBusinessEntityAddressService businessEntityAddressService,
                           IBusinessEntityContactService businessEntityContactService,
                           IPhoneService phoneService,
                           IAddressService addressService,
                           IAddressTypeService addressTypeService,
                           IPhoneTypeService phoneTypeService,
                           IContactTypeService contactTypeService,
                           IBusinessEntityService businessEntityService,
                           IUnitOfWorkAsync unitOfWork)
 {
     this.businessEntityService        = businessEntityService;
     this.employeeService              = employeeService;
     this.unitOfWork                   = unitOfWork;
     this.addressService               = addressService;
     this.personService                = personService;
     this.businessEntityContactService = businessEntityContactService;
     this.businessEntityAddressService = businessEntityAddressService;
     this.personService                = personService;
     this.phoneService                 = phoneService;
     this.addressTypeService           = addressTypeService;
     this.phoneTypeService             = phoneTypeService;
     this.contactTypeService           = contactTypeService;
 }
Exemple #2
0
 public AbstractBusinessEntityContactController(
     ApiSettings settings,
     ILogger <AbstractBusinessEntityContactController> logger,
     ITransactionCoordinator transactionCoordinator,
     IBusinessEntityContactService businessEntityContactService,
     IApiBusinessEntityContactModelMapper businessEntityContactModelMapper
     )
     : base(settings, logger, transactionCoordinator)
 {
     this.BusinessEntityContactService     = businessEntityContactService;
     this.BusinessEntityContactModelMapper = businessEntityContactModelMapper;
 }
 public BusinessEntityContactController(
     ApiSettings settings,
     ILogger <BusinessEntityContactController> logger,
     ITransactionCoordinator transactionCoordinator,
     IBusinessEntityContactService businessEntityContactService,
     IApiBusinessEntityContactModelMapper businessEntityContactModelMapper
     )
     : base(settings,
            logger,
            transactionCoordinator,
            businessEntityContactService,
            businessEntityContactModelMapper)
 {
     this.BulkInsertLimit = 250;
     this.MaxLimit        = 1000;
     this.DefaultLimit    = 250;
 }