Beispiel #1
0
 public PersonFacade(IPersonService personService, IMapper mapper, IPersonPhoneService personPhoneService, IPhoneNumberTypeService phoneNumberTypeService)
 {
     _personService          = personService;
     _mapper                 = mapper;
     _personPhoneService     = personPhoneService;
     _phoneNumberTypeService = phoneNumberTypeService;
 }
Beispiel #2
0
 public PersonPhoneService(IPersonService personService,
                           IPersonPhoneRepository personPhoneRepository,
                           IPhoneNumberTypeService phoneNumberTypeService)
 {
     _personService          = personService;
     _personPhoneRepository  = personPhoneRepository;
     _phoneNumberTypeService = phoneNumberTypeService;
 }
 /// <summary>
 /// Creates a new instance of the controller.
 /// </summary>
 /// <param name="userProvider">The user provider.</param>
 /// <param name="phoneNumberTypeService">The social media type service.</param>
 /// <param name="phoneNumberService">The social media service.</param>
 public PhoneNumbersController(IUserProvider userProvider, IPhoneNumberTypeService phoneNumberTypeService, IPhoneNumberService phoneNumberService)
 {
     Contract.Requires(phoneNumberTypeService != null, "The phone number type service must not be null.");
     Contract.Requires(phoneNumberService != null, "The phone number service must not be null.");
     Contract.Requires(userProvider != null, "The user provider must not be null.");
     this.phoneNumberTypeService = phoneNumberTypeService;
     this.phoneNumberService     = phoneNumberService;
     this.userProvider           = userProvider;
 }
Beispiel #4
0
 public AbstractPhoneNumberTypeController(
     ApiSettings settings,
     ILogger <AbstractPhoneNumberTypeController> logger,
     ITransactionCoordinator transactionCoordinator,
     IPhoneNumberTypeService phoneNumberTypeService,
     IApiPhoneNumberTypeModelMapper phoneNumberTypeModelMapper
     )
     : base(settings, logger, transactionCoordinator)
 {
     this.PhoneNumberTypeService     = phoneNumberTypeService;
     this.PhoneNumberTypeModelMapper = phoneNumberTypeModelMapper;
 }
Beispiel #5
0
 public PhoneNumberTypeController(
     ApiSettings settings,
     ILogger <PhoneNumberTypeController> logger,
     ITransactionCoordinator transactionCoordinator,
     IPhoneNumberTypeService phoneNumberTypeService,
     IApiPhoneNumberTypeModelMapper phoneNumberTypeModelMapper
     )
     : base(settings,
            logger,
            transactionCoordinator,
            phoneNumberTypeService,
            phoneNumberTypeModelMapper)
 {
     this.BulkInsertLimit = 250;
     this.MaxLimit        = 1000;
     this.DefaultLimit    = 250;
 }
 public PhoneNumberTypeFacadeFacade(IPhoneNumberTypeService PhoneNumberTypeFacadeService, IMapper mapper)
 {
     _phoneNumberTypeService = PhoneNumberTypeFacadeService;
     _mapper = mapper;
 }
Beispiel #7
0
 public PhoneNumberTypesController(IPhoneNumberTypeService phoneNumberTypeService)
 {
     _phoneNumberTypeService = phoneNumberTypeService;
 }
 public PhoneNumberTypeFacade(IPhoneNumberTypeService typeService, IMapper mapper)
 {
     _typeService = typeService;
     _mapper      = mapper;
 }
 public PhoneNumberTypeController(IPhoneNumberTypeService phoneNumberTypeService)
 {
     this.phoneNumberTypeService = phoneNumberTypeService;
 }