Beispiel #1
0
 public EmployeeController(IEmployeeService _service, IEmployeeDetailService _employeeDetailService, IEmployeeOtherInfoService _employeeOtherInfoService,
                           IBankAccountTypeService _bankAccountTypeService, IAccessTypeService _accessTypeService, IBloodGroupService _bloodGroupService, ICityService _cityService,
                           IContractTypeService _contractType, ICountryService _countryService, IDisabilitySituationService _disabilitySituationService, IEducationLevelService _educationLevelService,
                           IEducationStatusService _educationStatusService, IEmploymentTypeService _employmentTypeService, IGenderService _genderService,
                           IMaritalStatusService _maritalStatusService, IPositionService _positionService, ICompanyService _companyService, ICompanyBranchService _companyBranchService, ICompanyDepartmentService _companyDepartmentService,
                           IEmployeePositionService _employeePositionService
                           )
 {
     service = _service;
     employeeDetailService    = _employeeDetailService;
     employeeOtherInfoService = _employeeOtherInfoService;
     employeePositionService  = _employeePositionService;
     bankAccountTypeService   = _bankAccountTypeService;
     accessTypeService        = _accessTypeService;
     bloodGroupService        = _bloodGroupService;
     cityService                = _cityService;
     contractType               = _contractType;
     countryService             = _countryService;
     disabilitySituationService = _disabilitySituationService;
     educationLevelService      = _educationLevelService;
     educationStatusService     = _educationStatusService;
     employmentTypeService      = _employmentTypeService;
     genderService              = _genderService;
     maritalStatusService       = _maritalStatusService;
     positionService            = _positionService;
     companyService             = _companyService;
     companyBranchService       = _companyBranchService;
     companyDepartmentService   = _companyDepartmentService;
 }
 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;
 }
Beispiel #3
0
 public MultiAddedController(IAdaptationService adaptationService, IIdentityService ıdentityService,
                             IAwardService awardService, IBloodGroupService bloodGroupService, IGenderService genderService,
                             IMaritalStatusService maritalStatusService, IDisabilityStatusService disabilityStatusService)
 {
     _adaptationService       = adaptationService;
     _ıdentityService         = ıdentityService;
     _awardService            = awardService;
     _bloodGroupService       = bloodGroupService;
     _genderService           = genderService;
     _maritalStatusService    = maritalStatusService;
     _disabilityStatusService = disabilityStatusService;
 }
 public IdentityController(IIdentityService ıdentityService, IWorkplaceService workplaceService,
                           IMaritalStatusService maritalStatusService, IGenderService genderService, IDisabilityStatusService disabilityStatusService,
                           IBloodGroupService bloodGroupService, IServiceInfoService serviceInfoService, ICurrentStatusService currentStatusService,
                           IWorkingStatusService workingStatusService, IShiftInfoService shiftInfoService, IAdminStatusService adminStatusService, IProvinceService provinceService, ITisJobCodeService tisJobCodeService, IPrivateStatusService privateStatusService)
 {
     _ıdentityService         = ıdentityService;
     _workplaceService        = workplaceService;
     _maritalStatusService    = maritalStatusService;
     _genderService           = genderService;
     _disabilityStatusService = disabilityStatusService;
     _bloodGroupService       = bloodGroupService;
     _serviceInfoService      = serviceInfoService;
     _currentStatusService    = currentStatusService;
     _workingStatusService    = workingStatusService;
     _shiftInfoService        = shiftInfoService;
     _adminStatusService      = adminStatusService;
     _provinceService         = provinceService;
     _tisJobCodeService       = tisJobCodeService;
     _privateStatusService    = privateStatusService;
 }
Beispiel #5
0
        public static void MaritalStatus(IMaritalStatusService MaritalStatusService)
        {
            var maritalstatus = new List <MaritalStatus>
            {
                new MaritalStatus {
                    Id = 1, Name = "Single"
                },
                new MaritalStatus {
                    Id = 2, Name = "Married"
                },
                new MaritalStatus {
                    Id = 3, Name = "Divorced"
                },
                new MaritalStatus {
                    Id = 4, Name = "Widowed"
                },
            };


            foreach (var status in maritalstatus)
            {
                MaritalStatusService.Create(status).Wait();
            }
        }
 public MaritalStatusController(IMaritalStatusService service, IMapper mapper)
 {
     _service = service;
     _mapper  = mapper;
 }
Beispiel #7
0
 public MaritalStatusController(IMaritalStatusService maritalStatusService)
 {
     this.maritalStatusService = maritalStatusService;
 }
Beispiel #8
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="service">Service to inject</param>
 public MaritalStatusesController(IMaritalStatusService service)
 {
     Contract.Requires(service != null, "The service must not be null.");
     this.service = service;
 }
 public MaritalStatusController(IMaritalStatusService _service)
 {
     service = _service;
 }
 public MaritalStatusesViewComponent(IMaritalStatusService _maritalStatusService)
 {
     maritalStatusService = _maritalStatusService;
 }
Beispiel #11
0
 public MaritalStatusVmService(IMaritalStatusService maritalStatusService)
 {
     _maritalStatusService = maritalStatusService;
 }