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; }
/// <summary> /// Creates a new instance with the given ILocationService. /// </summary> /// <param name="locationService">The location serivce.</param> /// <param name="userProvider">The user provider.</param> /// <param name="addressTypeService">The address type service.</param> public AddressesController(ILocationService locationService, IUserProvider userProvider, IAddressTypeService addressTypeService) { Contract.Requires(locationService != null, "The location service must not be null."); Contract.Requires(userProvider != null, "The user provider must not be null."); Contract.Requires(addressTypeService != null, "The address type service must not be null."); this.locationService = locationService; this.userProvider = userProvider; this.addressTypeService = addressTypeService; }
public AbstractAddressTypeController( ApiSettings settings, ILogger <AbstractAddressTypeController> logger, ITransactionCoordinator transactionCoordinator, IAddressTypeService addressTypeService, IApiAddressTypeModelMapper addressTypeModelMapper ) : base(settings, logger, transactionCoordinator) { this.AddressTypeService = addressTypeService; this.AddressTypeModelMapper = addressTypeModelMapper; }
public AddressTypeController( ApiSettings settings, ILogger <AddressTypeController> logger, ITransactionCoordinator transactionCoordinator, IAddressTypeService addressTypeService, IApiAddressTypeModelMapper addressTypeModelMapper ) : base(settings, logger, transactionCoordinator, addressTypeService, addressTypeModelMapper) { this.BulkInsertLimit = 250; this.MaxLimit = 1000; this.DefaultLimit = 250; }
public AddressTypeController(IAddressTypeService addressTypeService) { _addressTypeService = addressTypeService; }
public AddressTypeController(IAddressTypeService addressType, ILoggerManager logger) { _addressTypeService = addressType; _loggerManager = logger; }
public AddressTypeController(IAddressTypeService addressTypeService, IAppLogService appLogService, IUserService userService) { _addressTypeService = addressTypeService; _appLogService = appLogService; _userService = userService; }