예제 #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();
        }
 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();
 }
 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;
 }
 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;
 }
        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;
 }
 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");
        }
 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();
 }
 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();
 }
        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
 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;
 }