コード例 #1
0
 public PrizeController()
 {
     _employeeService     = new EmployeeService();
     _designationServices = new DesignationService();
     _empPrizeService     = new EmployeePrizeService();
     _moduleService       = new ModuleService();
 }
コード例 #2
0
        public LeaveTypeController()
        {
            _departmentServices              = new DepartmentService();
            _designationServices             = new DesignationService();
            _moduleService                   = new ModuleService();
            _officeService                   = new OfficeServices();
            _bgService                       = new BusinessGroupService();
            _leaveTypeService                = new LeaveTypeService();
            _leaveRuleService                = new LeaveRuleService();
            _leaveRuleDetailService          = new LeaveRuleDetailService();
            _levelService                    = new LevelService();
            _darbandiService                 = new DarbandiService();
            _officeTypeService               = new OfficeTypeService();
            _rankService                     = new RankService();
            _rolesService                    = new RolesService();
            _roleAccessService               = new RolesAccessService();
            _leaveYearService                = new LeaveYearService();
            _sectionService                  = new SectionService();
            _shifService                     = new ShiftService();
            _shiftDayService                 = new ShiftDayService();
            _ethnicityService                = new EthnicityService();
            _jobTypeService                  = new JobTypeService();
            _educationLevelService           = new EducationLevelService();
            _rolesBusinessGroupAccessService = new RolesBusinessGroupAccessService();

            _fiscalService = new FiscalService();
        }
コード例 #3
0
 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();
 }
コード例 #4
0
 public QueryController(IAdaptationService adaptationService, IGraduationService graduationService,
                        IIdentityService ıdentityService, IAwardService awardService, IBirthCertificateService birthCertificateService,
                        ICourseService courseService, ICriminalService criminalService, IDesignationService designationService,
                        IPermissionService permissionService, IPromotionService promotionService, ITemporaryDutyService temporaryDutyService,
                        IForeignLanguageService foreignLanguageService, IWorkingPriceService workingPriceService, ITradeUnionInfoService tradeUnionInfoService,
                        IMilitaryService militaryService, IWorkplaceService workplaceService, IPriceTypeService priceTypeService, ITisJobCodeService tisJobCodeService,
                        IAdminStatusService adminStatusService, IDailyWorkingTimeService dailyWorkingTimeService, IPrivateStatusService privateStatusService, IMaritalStatusService maritalStatusService, IGenderService genderService, IWorkingStatusService workingStatusService, IWorkplaceHeadquartersService workplaceHeadquartersService)
 {
     _adaptationService            = adaptationService;
     _graduationService            = graduationService;
     _ıdentityService              = ıdentityService;
     _awardService                 = awardService;
     _birthCertificateService      = birthCertificateService;
     _courseService                = courseService;
     _criminalService              = criminalService;
     _designationService           = designationService;
     _permissionService            = permissionService;
     _promotionService             = promotionService;
     _temporaryDutyService         = temporaryDutyService;
     _foreignLanguageService       = foreignLanguageService;
     _workingPriceService          = workingPriceService;
     _tradeUnionInfoService        = tradeUnionInfoService;
     _militaryService              = militaryService;
     _workplaceService             = workplaceService;
     _priceTypeService             = priceTypeService;
     _tisJobCodeService            = tisJobCodeService;
     _adminStatusService           = adminStatusService;
     _dailyWorkingTimeService      = dailyWorkingTimeService;
     _privateStatusService         = privateStatusService;
     _maritalStatusService         = maritalStatusService;
     _genderService                = genderService;
     _workingStatusService         = workingStatusService;
     _workplaceHeadquartersService = workplaceHeadquartersService;
 }
コード例 #5
0
 /// <summary>
 /// Constructor
 /// </summary>
 public DesignationController(IDesignationService designationService)
 {
     if (designationService == null)
     {
         throw new ArgumentNullException("designationService");
     }
     this.designationService = designationService;
 }
コード例 #6
0
 public LeaveController(ILeaveRequestService leaveRequestService, IEmployeeService employeeService, IDesignationService designationService, IDepartmentService departmentService, IVacationTypeService vacationTypeService)
 {
     this.leaveRequestService = leaveRequestService;
     this.employeeService     = employeeService;
     this.designationService  = designationService;
     this.departmentService   = departmentService;
     this.vacationTypeService = vacationTypeService;
 }
コード例 #7
0
        public DesignationController()
        {
            var kernel = GlobalConfiguration.Configuration.DependencyResolver as NinjectResolver;

            if (kernel != null)
            {
                _designationService = kernel.GetService(typeof(DesignationService)) as DesignationService;
            }
        }
コード例 #8
0
 public CountryProgrammeController(IPermissionService permissionService, IUserContext userContext, ICountryProgrammeService _countryProgService,
                                   ILocationService locationService, ICountrySubOfficeService ctrySubOfficeService, IDesignationService designationService)
     : base(userContext, permissionService)
 {
     this.countryProgService   = _countryProgService;
     this.locationService      = locationService;
     this.ctrySubOfficeService = ctrySubOfficeService;
     this.designationService   = designationService;
 }
コード例 #9
0
 public AdminAttendanceRequestController()
 {
     _attendanceDailyServices = new AttendanceDailyService();
     _designationServices     = new DesignationService();
     _officeServices          = new OfficeServices();
     _employeeServices        = new EmployeeService();
     _notifications           = new NotificationService();
     _moduleService           = new ModuleService();
 }
コード例 #10
0
 public EmployeeController(IEmployeeService employeeService, IGenderService genderService, IExperienceService experienceService, IQualificationService qualificationService, IDesignationService designationService, IDepartmentService departmentService)
 {
     this.employeeService      = employeeService;
     this.genderService        = genderService;
     this.experienceService    = experienceService;
     this.qualificationService = qualificationService;
     this.designationService   = designationService;
     this.departmentService    = departmentService;
 }
コード例 #11
0
 public ReportsController(ISPService sPService, IOrganizationService organizationService
                          , IDepartmentService departmentService, IDesignationService designationService, ITeamService teamService)
 {
     this.sPService           = sPService;
     this.organizationService = organizationService;
     this.departmentService   = departmentService;
     this.designationService  = designationService;
     this.teamService         = teamService;
 }
コード例 #12
0
 public UpdateAttendanceController()
 {
     _attendanceDailyServices = new AttendanceDailyService();
     _departmentServices      = new DepartmentService();
     _designationServices     = new DesignationService();
     _officeServices          = new OfficeServices();
     _employeeServices        = new EmployeeService();
     _notifications           = new NotificationService();
     _moduleService           = new ModuleService();
 }
コード例 #13
0
 public TrainingController()
 {
     _employeeService         = new EmployeeService();
     _employeeTrainingService = new EmployeeTrainingService();
     _countryService          = new CountryService();
     _moduleService           = new ModuleService();
     _officeService           = new OfficeServices();
     _designationService      = new DesignationService();
     _rankService             = new RankService();
 }
コード例 #14
0
        public DesignationController(IDesignationService designationService, IMapper mapper
                                     , IConfiguration configuration)
        {
            _designationService = designationService;
            _mapper             = mapper;

            // First way
            string value1 = configuration.GetSection("AllowedHosts").Value;
            // Second way
            string value2 = configuration.GetValue <string>("Logging:LogLevel:Default");
        }
コード例 #15
0
 public AccountController(IGenderService genderService, IQualificationService qualificationService, IDepartmentService departmentService, IDesignationService designationService, IEmployeeService employeeService, IExperienceService experienceService, ILeaveRequestService leaveRequestService, IVacationTypeService vacationTypeService)
 {
     this.genderService        = genderService;
     this.qualificationService = qualificationService;
     this.departmentService    = departmentService;
     this.designationService   = designationService;
     this.employeeService      = employeeService;
     this.experienceService    = experienceService;
     this.leaveRequestService  = leaveRequestService;
     this.vacationTypeService  = vacationTypeService;
 }
コード例 #16
0
 public DesignationController(IIdentityService ıdentityService, IDesignationService designationService,
                              IReasonForDesignationService reasonForDesignationService, IWorkplaceService workplaceService, IDesignationStatusService designationStatusService, IDesignationApprovalService designationApprovalService, ITisJobCodeService tisJobCodeService)
 {
     _ıdentityService             = ıdentityService;
     _designationService          = designationService;
     _reasonForDesignationService = reasonForDesignationService;
     _workplaceService            = workplaceService;
     _designationStatusService    = designationStatusService;
     _designationApprovalService  = designationApprovalService;
     _tisJobCodeService           = tisJobCodeService;
 }
コード例 #17
0
 public YearlyLeaveReportController()
 {
     this._LeaveApplicationService = new LeaveApplicationService();
     this._designationService      = new DesignationService();
     this._LeaveAddAdmin           = new LeaveApplicationServices();
     this._ValidateLeave           = new LeaveValidateHelper();
     this._DynamicSelectList       = new DynamicSelectList();
     this._LeaveEarnedService      = new LeaveEarnedService();
     this._officeService           = new OfficeServices();
     this._employeeService         = new EmployeeService();
 }
コード例 #18
0
        public EmployeeInformationForm()
        {
            InitializeComponent();
            IKernel kernel = BootStrapper.Initialize();

            _employeeInformationService = kernel.GetService(typeof(EmployeeInformationService)) as EmployeeInformationService;
            _departmentService          = kernel.GetService(typeof(DepartmentService)) as DepartmentService;
            _designationService         = kernel.GetService(typeof(DesignationService)) as DesignationService;

            _employeeInformation = new EmployeeInformationModel();
        }
コード例 #19
0
        public DesignationController(IDesignationService DesignationService, IUnitOfWork unitOfWork, IExceptionHandlingService exec)
        {
            _DesignationService = DesignationService;
            _unitOfWork         = unitOfWork;
            _exception          = exec;

            //Log Initialization
            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;
        }
コード例 #20
0
 public AttendanceReportController()
 {
     _attendanceDailyServices = new AttendanceDailyService();
     _departmentServices      = new DepartmentService();
     _designationServices     = new DesignationService();
     _groupServices           = new GroupService();
     _officeServices          = new OfficeServices();
     _moduleService           = new ModuleService();
     _employeeServices        = new EmployeeService();
     _notifications           = new NotificationService();
     _reportServices          = new ReportsServices();
 }
コード例 #21
0
 public AttendancyEntireYearController()
 {
     _attendanceDailyServices = new AttendanceDailyService();
     _departmentServices      = new DepartmentService();
     _designationServices     = new DesignationService();
     _groupServices           = new GroupService();
     _officeServices          = new OfficeServices();
     _employeeServices        = new EmployeeService();
     _notifications           = new NotificationService();
     _reportServices          = new ReportsServices();
     _fiscalService           = new FiscalService();
 }
コード例 #22
0
        public AttendanceDetailsController()
        {
            _attendanceDailyServices = new AttendanceDailyService();
            _departmentServices      = new DepartmentService();
            _designationServices     = new DesignationService();

            _officeServices   = new OfficeServices();
            _moduleService    = new ModuleService();
            _employeeServices = new EmployeeService();
            _notifications    = new NotificationService();
            // ViewBag.TopMenuList = _moduleService.GetModuleParents(0);
            //ViewBag.SideBar = _moduleService.GetModuleParents(2);
        }
コード例 #23
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;
            }
        }
コード例 #24
0
ファイル: SystemUserController.cs プロジェクト: rjakech/SCMS
 public SystemUserController(ISystemUserService systemUserService, IImageService imageService, IPermissionService permissionService,
                             IPersonService personService, IStaffService staffService, ICountrySubOfficeService countrySubOfficeService, IBudgetService budgetService,
                             IDesignationService designationService, INotificationService notificationService, IUserContext usercontext, ICacheService cacheService)
     : base(usercontext)
 {
     m_SystemUserService       = systemUserService;
     m_ImageService            = imageService;
     m_PermissionService       = permissionService;
     m_PersonService           = personService;
     m_StaffService            = staffService;
     m_CountrySubOfficeService = countrySubOfficeService;
     m_DesignationService      = designationService;
     m_budgetService           = budgetService;
     m_notificationService     = notificationService;
     m_cacheService            = cacheService;
 }
コード例 #25
0
 public OfficeExecutiveController(IOfficeExecutiveService officeExecutiveService, IOrganizationService organizationService
                                  , IDesignationService designationService, IDepartmentService departmentService
                                  , IGenderService genderService, IDivisionService divisionService, IDistrictService districtService
                                  , IThanaService thanaService, ICountryService countryService, ITeamService teamService
                                  , IProfessionService professionService, ISPService spService)
 {
     this.officeExecutiveService = officeExecutiveService;
     this.organizationService    = organizationService;
     this.designationService     = designationService;
     this.departmentService      = departmentService;
     this.genderService          = genderService;
     this.divisionService        = divisionService;
     this.districtService        = districtService;
     this.thanaService           = thanaService;
     this.countryService         = countryService;
     this.teamService            = teamService;
     this.professionService      = professionService;
     this.spService = spService;
 }
コード例 #26
0
 public DesignationController(IDesignationService designationService, ApplicationUserManager userManager) : base(userManager)
 {
     this.designationService = designationService;
 }
コード例 #27
0
 public DesignationController(IDesignationService designationService)
 {
     this.designationService = designationService;
 }
コード例 #28
0
 public DesignationController()
 {
     _designationService = new DesignationService();
 }
コード例 #29
0
 public DesignationController(IDesignationService designationInit)
 {
     _designation = designationInit;
 }
コード例 #30
0
 /// <summary>
 /// this is the default constructor for the department service class and used for repository and serivces dependency Injection
 /// </summary>
 /// <param name="departmentRepository">department repository object</param>
 /// <param name="departmentDesignationRepository">department designation repository object for dependency injection</param>
 public DepartmentService(IDepartmentRepository departmentRepository, IDepartmentDesignationRepository departmentDesignationRepository, IDesignationService designationService)
 {
     _departmentRepository            = departmentRepository;
     _departmentDesignationRepository = departmentDesignationRepository;
     _designationService = designationService;
 }