public UserEmployeeController()
 {
     _employeeService             = new EmployeeService();
     _officeTypeServices          = new OfficeServices();
     _departmentServices          = new DepartmentService();
     _designationServices         = new DesignationService();
     _leaveRuleServices           = new LeaveRuleService();
     _levelServices               = new LevelService();
     _sectionServices             = new SectionService();
     _employeeService             = new EmployeeService();
     _jobTypeservices             = new JobTypeService();
     _rankServices                = new RankService();
     _shiftService                = new ShiftService();
     _serviceEventService         = new ServiceEventGroupService();
     _groupServices               = new GroupService();
     _moduleService               = new ModuleService();
     _bgGroupService              = new BusinessGroupService();
     _ethService                  = new EthnicityService();
     _religionService             = new ReligionService();
     _employeeVisitService        = new EmployeeVisitService();
     _countryService              = new CountryService();
     _rolesService                = new RolesService();
     _empPrizeService             = new EmployeePrizeService();
     _jobHistoryService           = new JobHistoryService();
     _officeService               = new OfficeServices();
     _remoteService               = new RemoteAreaService();
     _employeeTrainingService     = new EmployeeTrainingService();
     _serviceEventSubGroupService = new ServiceEventSubGroupService();
     _empEducationService         = new EmpEducationService();
     _empFamilyService            = new EmpFamilyService();
     _educationLevel              = new EducationLevelService();
 }
Beispiel #2
0
 public AuthController(IUserService userService,
                       INationalityService nationalityService,
                       IEducationService educationService,
                       IReligionService religionService,
                       IWorkService workService,
                       IGenderService genderService,
                       IDegreeService degreeService,
                       IConfirmedUsersService confirmedUserService,
                       IUserManagerService userManagerService,
                       IMapper mapper,
                       ILoggerService <AuthController> loggerService,
                       IAuthService AuthService,
                       IStringLocalizer <AuthenticationErrors> resourceForErrors)
 {
     _AuthService          = AuthService;
     _userService          = userService;
     _nationalityService   = nationalityService;
     _religionService      = religionService;
     _degreeService        = degreeService;
     _workService          = workService;
     _educationService     = educationService;
     _genderService        = genderService;
     _confirmedUserService = confirmedUserService;
     _mapper             = mapper;
     _userManagerService = userManagerService;
     _loggerService      = loggerService;
     _resourceForErrors  = resourceForErrors;
 }
 public HolidayController()
 {
     _officeServices    = new OfficeServices();
     _moduleService     = new ModuleService();
     _ethnicityServices = new EthnicityService();
     _religionServices  = new ReligionService();
     _holidayServices   = new HolidayServices();
 }
        public ReligionController(IReligionService ReligionService, IDocumentTypeService DocumentTypeService, IExceptionHandler exec,
                                  ILogger log, IModificationCheck modificationCheck, IDocumentValidation DocValidation)
        {
            _ReligionService     = ReligionService;
            _DocumentTypeService = DocumentTypeService;
            _exception           = exec;
            _documentValidation  = DocValidation;
            _logger            = log;
            _modificationCheck = modificationCheck;

            UserRoles            = (List <string>)System.Web.HttpContext.Current.Session["Roles"];
            logVm.SessionId      = 0;
            logVm.ControllerName = System.Web.HttpContext.Current.Request.RequestContext.RouteData.GetRequiredString("controller");
            logVm.ActionName     = System.Web.HttpContext.Current.Request.RequestContext.RouteData.GetRequiredString("action");
            logVm.User           = System.Web.HttpContext.Current.Request.RequestContext.HttpContext.User.Identity.Name;
        }
Beispiel #5
0
 public EmployeeController(IEmployeeService employeeService,
                           ICountryService countryService,
                           IEducationService educationService,
                           IEthnicGroupService ethnicGroupService,
                           IReligionService religionService,
                           ISkillService skillService,
                           IDepartmentService departmentService,
                           IRoleService roleService,
                           IUserService userService
                           )
 {
     this._employeeService    = employeeService;
     this._countryService     = countryService;
     this._educationService   = educationService;
     this._ethnicGroupService = ethnicGroupService;
     this._religionService    = religionService;
     this._skillService       = skillService;
     this._departmentService  = departmentService;
     this._userService        = userService;
     this._roleService        = roleService;
 }
Beispiel #6
0
 public UserController(IUserService userService,
                       INationalityService nationalityService,
                       IEducationService educationService,
                       IReligionService religionService,
                       IWorkService workService,
                       IGenderService genderService,
                       IDegreeService degreeService,
                       IConfirmedUsersService confirmedUserService,
                       IUserManagerService userManagerService,
                       ILoggerService <UserController> loggerService,
                       IMapper mapper)
 {
     _userService          = userService;
     _nationalityService   = nationalityService;
     _religionService      = religionService;
     _degreeService        = degreeService;
     _workService          = workService;
     _educationService     = educationService;
     _genderService        = genderService;
     _confirmedUserService = confirmedUserService;
     _userManagerService   = userManagerService;
     _loggerService        = loggerService;
     _mapper = mapper;
 }
Beispiel #7
0
 public ReligionsController(IReligionService religionService)
 {
     _religionService = religionService;
 }
Beispiel #8
0
 public ReligionsController(IReligionService iReligionService)
 {
     _iReligionService = iReligionService;
 }
Beispiel #9
0
 public ReligionController(IReligionService service)
 {
     this.service = service;
 }
Beispiel #10
0
 public NationalsController(IProvinceService provinceService, IEthnicService ethnicService, IReligionService religionService)
 {
     _provinceService = provinceService;
     _ethnicService   = ethnicService;
     _religionService = religionService;
 }
Beispiel #11
0
 public ReligionController(IUnitOfWorkSts uow, IReligionService religionService)
 {
     _religionService = religionService;
     _uow             = uow;
 }
Beispiel #12
0
 public ReligionController(IReligionService religionService)
 {
     religionServiceobj = religionService;
 }