public EmployeeService(IEmployeeRepository employeeRepository, IPersonalInformationService personalInformationService, IAddressService addressService) : base(employeeRepository) { _employeeRepository = employeeRepository; _personalInformationService = personalInformationService; _addressService = addressService; }
public PersonalInformationController() { var kernel = GlobalConfiguration.Configuration.DependencyResolver as NinjectResolver; if (kernel != null) { _personalInformationService = kernel.GetService(typeof(PersonalInformationService)) as PersonalInformationService; _addressService = kernel.GetService(typeof(AddressService)) as AddressService; } }
public PersonalInformationPageViewModel(IConnectionService connectionService, INavigationService navigationService, IDialogService dialogService, ISettingsService settingsService, IPersonalInformationService personalInformationService) : base(connectionService, navigationService, dialogService) { _settingsService = settingsService; _personalInformationService = personalInformationService; User = new User(); }
public HomeController( IUserManager <WatchmanUser, Guid> userManager, IWatchmanPatientService <Guid> watchmanPatientService, IUserWatchmanPatientService <Guid> userWatchmanPatientService, IControlRequestService controlRequestService, IPersonalInformationService <PersonalInfo, Guid> personalService) { this._userManager = userManager; this._watchmanPatientService = watchmanPatientService; this._userHealthService = userWatchmanPatientService; this._controlRequestService = controlRequestService; _personalService = personalService; }
public AccountController( ITokenService tokenService, IUserManager <WatchmanUser, Guid> userManager, IPersonalInformationService <PersonalInfo, Guid> personalInformationService, IJwtValidator jwtValidator ) { this._tokenService = tokenService; this._userManager = userManager; this._infoService = personalInformationService; this._jwtValidator = jwtValidator; }
public EmployeeController() { var kernel = GlobalConfiguration.Configuration.DependencyResolver as NinjectResolver; if (kernel != null) { _emplyeeService = kernel.GetService(typeof(EmployeeService)) as EmployeeService; _employeeCategoryService = kernel.GetService(typeof(EmployeeCategoryService)) as EmployeeCategoryService; _departmentService = kernel.GetService(typeof(DepartmentService)) as DepartmentService; _designationService = kernel.GetService(typeof(DesignationService)) as DesignationService; _personalInformationService = kernel.GetService(typeof(PersonalInformationService)) as PersonalInformationService; _countryService = kernel.GetService(typeof(CountryService)) as CountryService; _rosterInformationService = kernel.GetService(typeof(IRosterInformationService)) as RosterInformationService; } }
public PersonalInfoController( IPersonalInformationService <PersonalInfo, Guid> personalInformationService ) { this._infoService = personalInformationService; }