public OperatorController(IUserContext userContext, IClientsService clientsService, IClientProfileService clientProfileService) : base(userContext) { Contract.Requires<ArgumentNullException>(clientsService.IsNotNull()); Contract.Requires<ArgumentNullException>(clientProfileService.IsNotNull()); this.clientsService = clientsService; }
public OperatorController(IUserContext userContext, IClientsService clientsService, IClientProfileService clientProfileService) : base(userContext) { Contract.Requires <ArgumentNullException>(clientsService.IsNotNull()); Contract.Requires <ArgumentNullException>(clientProfileService.IsNotNull()); this.clientsService = clientsService; }
public ClientProfileController( IClientProfileService clientProfileService, IClientProfileManager clientProfileManager, IUserContext userContext, ICreditManager creditManager, IPaymentService paymentService) : base(userContext) { Contract.Requires <ArgumentNullException>(clientProfileService.IsNotNull()); Contract.Requires <ArgumentNullException>(clientProfileManager.IsNotNull()); this.clientProfileService = clientProfileService; this.clientProfileManager = clientProfileManager; this.creditManager = creditManager; this.paymentService = paymentService; }
public ClientProfileController( IClientProfileService clientProfileService, IClientProfileManager clientProfileManager, IUserContext userContext, ICreditManager creditManager, IPaymentService paymentService) : base(userContext) { Contract.Requires<ArgumentNullException>(clientProfileService.IsNotNull()); Contract.Requires<ArgumentNullException>(clientProfileManager.IsNotNull()); this.clientProfileService = clientProfileService; this.clientProfileManager = clientProfileManager; this.creditManager = creditManager; this.paymentService = paymentService; }
public ClientProfileManager( IClientProfileService clientProfileService, ICitiesService citiesService, ICountriesService countriesService, IRepository<Property> propertyRepository, IObligationRepository obligationRepository) { Contract.Requires<ArgumentNullException>(clientProfileService.IsNotNull()); Contract.Requires<ArgumentNullException>(citiesService.IsNotNull()); Contract.Requires<ArgumentNullException>(countriesService.IsNotNull()); this.clientProfileService = clientProfileService; this.citiesService = citiesService; this.countriesService = countriesService; this.propertyRepository = propertyRepository; this.obligationRepository = obligationRepository; }
public ClientProfileManager( IClientProfileService clientProfileService, ICitiesService citiesService, ICountriesService countriesService, IRepository <Property> propertyRepository, IObligationRepository obligationRepository) { Contract.Requires <ArgumentNullException>(clientProfileService.IsNotNull()); Contract.Requires <ArgumentNullException>(citiesService.IsNotNull()); Contract.Requires <ArgumentNullException>(countriesService.IsNotNull()); this.clientProfileService = clientProfileService; this.citiesService = citiesService; this.countriesService = countriesService; this.propertyRepository = propertyRepository; this.obligationRepository = obligationRepository; }