Exemplo n.º 1
0
 public UserController(ICustomerService CustomerService,
                       IWorkContext WorkContextService,
                       IAddressService addressService,
                       ICountryService countryService,
                       IStateProvinceService stateProvinceService,
                       ICustomerPasswordService Customerpasswordservice,
                       IAuthenticationService AuthenticationService,
                       ICustomerModelFactory CustomerModelFactory,
                       ICustomerRegistrationService CustomerRegistrationService,
                       IHttpContextAccessor httpContextAccessor,
                       IPermissionService permissionService,
                       IEncryptionService encryptionService)
 {
     this._customerService             = CustomerService;
     this._WorkContextService          = WorkContextService;
     this._addressService              = addressService;
     this._countryService              = countryService;
     this._stateProvinceService        = stateProvinceService;
     this._customerpasswordservice     = Customerpasswordservice;
     this._authenticationService       = AuthenticationService;
     this._customerModelFactory        = CustomerModelFactory;
     this._customerRegistrationService = CustomerRegistrationService;
     this._permissionService           = permissionService;
     this._httpContextAccessor         = httpContextAccessor;
     this._encryptionService           = encryptionService;
 }
 public NurseController(INurseServices NurseServices, IWorkContext workContext,
                        ICompanyProfileService CompanyProfileService,
                        IHostingEnvironment hostingEnvironment,
                        ICustomerService CustomerServices,
                        ICustomerPasswordService Customerpasswordservice,
                        IAddressService Addressservice,
                        ITreatmentRecordServices TreatmentRecordservice,
                        IPermissionService permissionService,
                        IEncryptionService encryptionService)
 {
     this._nurseServices           = NurseServices;
     this._hostingEnvironment      = hostingEnvironment;
     this._workContext             = workContext;
     _companyProfileService        = CompanyProfileService;
     this._customerServices        = CustomerServices;
     this._customerpasswordservice = Customerpasswordservice;
     this._addressservice          = Addressservice;
     this._treatmentRecordservice  = TreatmentRecordservice;
     this._permissionService       = permissionService;
     this._encryptionService       = encryptionService;
 }