Exemplo n.º 1
0
 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;
            }
        }
Exemplo n.º 3
0
 public PersonalInformationPageViewModel(IConnectionService connectionService,
                                         INavigationService navigationService,
                                         IDialogService dialogService,
                                         ISettingsService settingsService,
                                         IPersonalInformationService personalInformationService)
     : base(connectionService, navigationService, dialogService)
 {
     _settingsService            = settingsService;
     _personalInformationService = personalInformationService;
     User = new User();
 }
Exemplo n.º 4
0
 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;
 }
Exemplo n.º 5
0
 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;
 }
Exemplo n.º 6
0
        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;
 }