public OperatorController(IUserContext userContext, IClientsService clientsService, IClientProfileService clientProfileService)
     : base(userContext)
 {
     Contract.Requires<ArgumentNullException>(clientsService.IsNotNull());
     Contract.Requires<ArgumentNullException>(clientProfileService.IsNotNull());
     this.clientsService = clientsService;
 }
Exemple #2
0
 public OperatorController(IUserContext userContext, IClientsService clientsService, IClientProfileService clientProfileService)
     : base(userContext)
 {
     Contract.Requires <ArgumentNullException>(clientsService.IsNotNull());
     Contract.Requires <ArgumentNullException>(clientProfileService.IsNotNull());
     this.clientsService = clientsService;
 }
Exemple #3
0
        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;
        }
Exemple #6
0
        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;
        }