コード例 #1
0
 public TeacherController(ITeacherRepository teacherRepository, IDepartmentManager departmentManager, IDesignationRepository designationRepository, IMapper mapper)
 {
     _teacherRepository     = teacherRepository;
     _departmentManager     = departmentManager;
     _designationRepository = designationRepository;
     _mapper = mapper;
 }
 /// <summary>
 /// this is the default constructor for the DepartmentDesignation service class
 /// </summary>
 /// <param name="departmentDesignationRepository">departmentDesignation repository object for dependency injection</param>
 /// <param name="designationRepository">designation repository object for dependency injection</param>
 public DepartmentDesignationService(IDepartmentDesignationRepository departmentDesignationRepository, IDesignationRepository designationRepository, IDepartmentRepository departmentRepository, IMapper mapper)
 {
     _departmentDesignationRepository = departmentDesignationRepository;
     _designationRepository           = designationRepository;
     _departmentRepository            = departmentRepository;
     _mapper = mapper;
 }
コード例 #3
0
        public DesignationValidator(IDesignationRepository designationRepository)
        {
            _designationRepository = designationRepository;

            RuleFor(designation => designation.Name).NotNull().WithMessage("Please give designation name");
            RuleFor(designation => designation.Code).Must(IsCodeUnique).WithMessage("Code Already Exists, Please give a new code");
        }
コード例 #4
0
 public DesignationService(IMapper mapper, IUnitOfWork unitOfWork, IDesignationRepository designationRepository)
     : base(mapper, unitOfWork, designationRepository)
 {
     _unitOfWork            = unitOfWork;
     _mapper                = mapper;
     _designationRepository = designationRepository;
 }
コード例 #5
0
ファイル: EmployeeService.cs プロジェクト: VijayMVC/Cares
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="empRepository"></param>
 /// <param name="empStatusRepository"></param>
 /// <param name="companyRepository"></param>
 /// <param name="jobTypeRepository"></param>
 /// <param name="designationRepository"></param>
 /// <param name="desigGradeRepository"></param>
 /// <param name="departmentRepository"></param>
 /// <param name="workplaceRepository"></param>
 /// <param name="countryRepository"></param>
 /// <param name="regionRepository"></param>
 /// <param name="subRegionRepository"></param>
 /// <param name="cityRepository"></param>
 /// <param name="areaRepository"></param>
 /// <param name="phoneTypeRepository"></param>
 /// <param name="licenseTypeRepository"></param>
 /// <param name="operationRepository"></param>
 /// <param name="operationsWorkPlaceRepository"></param>
 public EmployeeService(IEmployeeRepository empRepository, IEmpStatusRepository empStatusRepository, ICompanyRepository companyRepository,
                        IJobTypeRepository jobTypeRepository, IDesignationRepository designationRepository, IDesignGradeRepository desigGradeRepository,
                        IDepartmentRepository departmentRepository, IWorkplaceRepository workplaceRepository, ICountryRepository countryRepository,
                        IRegionRepository regionRepository, ISubRegionRepository subRegionRepository, ICityRepository cityRepository,
                        IAreaRepository areaRepository, IPhoneTypeRepository phoneTypeRepository, ILicenseTypeRepository licenseTypeRepository,
                        IOperationRepository operationRepository, IOperationsWorkPlaceRepository operationsWorkPlaceRepository, IAddressTypeRepository addressTypeRepository,
                        IAddressRepository addressRepository, IPhoneRepository phoneRepository, IEmpJobProgRepository empJobProgRepository,
                        IEmpAuthOperationsWorkplaceRepository empAuthOperationsWorkplaceRepository)
 {
     employeeRepository        = empRepository;
     this.empStatusRepository  = empStatusRepository;
     this.addressRepository    = addressRepository;
     this.phoneRepository      = phoneRepository;
     this.empJobProgRepository = empJobProgRepository;
     this.empAuthOperationsWorkplaceRepository = empAuthOperationsWorkplaceRepository;
     this.companyRepository             = companyRepository;
     this.jobTypeRepository             = jobTypeRepository;
     this.designationRepository         = designationRepository;
     this.desigGradeRepository          = desigGradeRepository;
     this.departmentRepository          = departmentRepository;
     this.workplaceRepository           = workplaceRepository;
     this.regionRepository              = regionRepository;
     this.countryRepository             = countryRepository;
     this.subRegionRepository           = subRegionRepository;
     this.cityRepository                = cityRepository;
     this.areaRepository                = areaRepository;
     this.phoneTypeRepository           = phoneTypeRepository;
     this.licenseTypeRepository         = licenseTypeRepository;
     this.operationRepository           = operationRepository;
     this.operationsWorkPlaceRepository = operationsWorkPlaceRepository;
     this.addressTypeRepository         = addressTypeRepository;
 }
コード例 #6
0
 public EmployeeInfoesController(IBranchRepository b, IDesignationRepository ds, IDepartmentRepository dp, IEmployeeInfoRepository e)
 {
     this.branchRepository       = b;
     this.departmentRepository   = dp;
     this.designationRepository  = ds;
     this.employeeInfoRepository = e;
 }
コード例 #7
0
 public EmployeeInfoesController(IBranchRepository b, IDesignationRepository ds, IDepartmentRepository dp, IEmployeeInfoRepository e, IHttpContextAccessor f)
 {
     this.branchRepository       = b;
     this.departmentRepository   = dp;
     this.designationRepository  = ds;
     this.employeeInfoRepository = e;
     this.httpContextAccessor    = f;
 }
コード例 #8
0
 public DesignationsController(IDesignationRepository designationRepository,
                               IDepartmentRepository departmentRepository,
                               IUnitOfWork unitOfWork)
 {
     _designationRepository = designationRepository;
     _departmentRepository  = departmentRepository;
     _unitOfWork            = unitOfWork;
 }
 /// <summary>
 /// this is the default constructor for level controller
 /// </summary>
 public LevelService(ILevelRepository levelRepository, IDepartmentDesignationRepository departmentDesignationRepository, IFeatureRepository featureRepository, IDesignationRepository designationRepository, IDepartmentRepository departmentRepository, IDesignationLevelRepository designationLevelRepository)
 {
     _levelRepository = levelRepository;
     _departmentDesignationRepository = departmentDesignationRepository;
     _featureRepository          = featureRepository;
     _designationRepository      = designationRepository;
     _departmentRepository       = departmentRepository;
     _designationLevelRepository = designationLevelRepository;
 }
コード例 #10
0
 public PayRollsController(IEmployeeInfoRepository e, IPayRollRepository a, IBranchRepository b, IDepartmentRepository d, IDesignationRepository de, IHttpContextAccessor f)
 {
     this.payRollRepository      = a;
     this.employeeInfoRepository = e;
     this.branchRepository       = b;
     this.departmentRepository   = d;
     this.designationRepository  = de;
     this.httpContextAccessor    = f;
 }
コード例 #11
0
 public UserMutation(IRoleRepository roleRepository,
                     IUserRepository userRepository,
                     IDepartmentRepository departmentRepository,
                     IDesignationRepository designationRepository)
 {
     _roleRepository        = roleRepository;
     _userRepository        = userRepository;
     _departmentRepository  = departmentRepository;
     _designationRepository = designationRepository;
 }
コード例 #12
0
 public EmployeeService(IDocumentService documentService, IDocumentRepository documentRepository, IEmployeeRepository EmployeeRepository, IDesignationRepository designationRepository, IEmployeeSupervisorRepository employeeSupervisorRepository, IAspNetRoleRepository aspNetRoleRepository, ITicketRepository ticketRepository)
 {
     this.documentService       = documentService;
     this.documentRepository    = documentRepository;
     this.employeeRepository    = EmployeeRepository;
     this.designationRepository = designationRepository;
     //this.employeeSupervisorRepository = employeeSupervisorRepository;
     this.aspNetRoleRepository = aspNetRoleRepository;
     //this.ticketRepository = ticketRepository;
 }
コード例 #13
0
 public JobOffersController(IJobOfferRepository jobOfferRepository,
                            ICandidateRepository candidateRepository,
                            IDesignationRepository designationRepository,
                            IUnitOfWork unitOfWork)
 {
     _jobOfferRepository    = jobOfferRepository;
     _candidateRepository   = candidateRepository;
     _designationRepository = designationRepository;
     _unitOfWork            = unitOfWork;
 }
コード例 #14
0
ファイル: HrSetupController.cs プロジェクト: wasaya2/ERP-Core
        public HrSetupController(
            IBankRepository repo4,
            ICostCenterRepository repo6,
            IDegreeRepository repo8,
            IDesignationRepository repo9,
            IEmployeeStatusRepository repo10,
            IEmployeeTypeRepository repo11,
            IFunctionRepository repo12,
            IGazettedHolidaysRepository repo13,
            IGroupRepository repo15,
            ILanguageRepository repo16,
            IManagementLevelRepository repo18,
            IRelationRepository repo20,
            IReligionRepository repo21,
            ISkillLevelRepository repo24,
            IUniversityRepository repo25,
            IWorkExperienceRepository repo26,
            IUserDocumentRepository repo27,
            IUserPhotoRepository repo28,
            IUserCompanyRepository repo29,
            IDependantsRelationRepository repo30

            )
        {
            Bank_repo               = repo4;
            CostCenter_repo         = repo6;
            Degree_repo             = repo8;
            Designation_repo        = repo9;
            EmpStatus_repo          = repo10;
            EmpType_repo            = repo11;
            Func_repo               = repo12;
            Holiday_repo            = repo13;
            Group_repo              = repo15;
            Lang_repo               = repo16;
            MngLvl_repo             = repo18;
            Relation_repo           = repo20;
            Religion_repo           = repo21;
            SkillLevel_repo         = repo24;
            Uni_repo                = repo25;
            wexp_repo               = repo26;
            Doc_repo                = repo27;
            Photo_repo              = repo28;
            UserCompany_repo        = repo29;
            Dependantsrelation_repo = repo30;
        }
コード例 #15
0
 public UsersController(ISettingsService settingsService,
                        IAccessRuleRepository accessRuleRepository,
                        IUserRepository userRepository,
                        IUserSkillRepository userSkillRepository,
                        IUserCertificationRepository userCertificationRepository,
                        IDepartmentRepository departmentRepository,
                        IDesignationRepository designationRepository,
                        ILocationRepository locationRepository,
                        IShiftRepository shiftRepository,
                        IRoleRepository roleRepository,
                        IRoleMemberRepository roleMemberRepository,
                        IAssetRepository assetRepository,
                        ILeaveEntitlementRepository leaveEntitlementRepository,
                        IProjectMemberRepository projectMemberRepository,
                        IUserTechnologyMapRepository userTechnologyMapRepository,
                        IEmergencyContactRepository emergencyContactRepository,
                        IEmployeeDependentRepository employeeDependentRepository,
                        IUserAwardRepository userAwardRepository,
                        ITokenRepository tokenRepository,
                        IAwardRepository awardRepository,
                        ITechnologyRepository technologyRepository,
                        ISkillRepository skillRepository,
                        IHobbyRepository hobbyRepository,
                        IUserHobbyRepository userHobbyRepository,
                        ICertificationRepository certificationRepository,
                        ISystemSnapshotRepository systemSnapshotRepository,
                        IUserDocumentRepository userDocumentRepository,
                        IUnitOfWork unitOfWork)
 {
     _userRepository              = userRepository;
     _userSkillRepository         = userSkillRepository;
     _userCertificationRepository = userCertificationRepository;
     _roleMemberRepository        = roleMemberRepository;
     _userTechnologyMapRepository = userTechnologyMapRepository;
     _userHobbyRepository         = userHobbyRepository;
     _unitOfWork = unitOfWork;
 }
コード例 #16
0
        public DesignationHandler(IConfiguration configuration)
        {
            var factory = new ProcessorFactoryResolver <IDesignationRepository>(configuration);

            _userProcessor = factory.CreateProcessor();
        }
コード例 #17
0
 public DesignationService(IDesignationRepository DesignationRepository)
 {
     this.DesignationRepository = DesignationRepository;
 }
コード例 #18
0
 public DesignationManager(IDesignationRepository Repository) : base(Repository)
 {
     this.designationRepository = Repository;
 }
コード例 #19
0
 public UpdateDesignationHandler(IDesignationRepository designationRepository)
 {
     this._designationRepository = designationRepository;
 }
コード例 #20
0
 public DesignationService(IDesignationRepository designationRepository) : base(designationRepository)
 {
     _designationRepository = designationRepository;
 }
コード例 #21
0
 public DesignationService(IDesignationRepository repository)
 {
     this.repository = repository;
 }
コード例 #22
0
 public DesignationController(IDesignationRepository designationRepository, ILogger <DesignationController> logger)
 {
     this.designationRepository = designationRepository;
     this.logger = logger;
 }
コード例 #23
0
 public DesignationInformationController(IDesignationRepository designationRepository)
 {
     this._repository = designationRepository;
 }
コード例 #24
0
 public GetSingleDesignationHandler(IDesignationRepository repository)
 {
     designationRepository = repository;
 }
コード例 #25
0
 public DesignationManager() : base(new DesignationRepository())
 {
     this.designationRepository = (DesignationRepository)base.BaseRepository;
 }
コード例 #26
0
 public DesignationApiController()
 {
     _designationRepository = FtUnityMapper.GetInstance <IDesignationRepository>();
 }
コード例 #27
0
 public DesignationManager()
 {
     _designationRepository = new DesignationRepository();
 }
コード例 #28
0
 public DesignationsController(IDesignationRepository de, IDepartmentRepository dp, IHttpContextAccessor f)
 {
     this.designationRepository = de;
     this.departmentRepository  = dp;
     this.httpContextAccessor   = f;
 }
コード例 #29
0
 public DesignationManager(IDesignationRepository designationRepository)
 {
     _designationRepository = designationRepository;
 }
コード例 #30
0
 /// <summary>
 /// Constructor
 /// </summary>
 public DesignationService(IEmpJobInfoRepository empJobInfoRepository, IEmpJobProgRepository empJobProgRepository, IDesignationRepository designationRepository)
 {
     this.empJobInfoRepository  = empJobInfoRepository;
     this.empJobProgRepository  = empJobProgRepository;
     this.designationRepository = designationRepository;
 }
コード例 #31
0
ファイル: DesignationService.cs プロジェクト: sharadit47/PMS
 public DesignationService(UnitOfWork unitOfWork,IDesignationRepository designationRepository)
 {
     this.unitOfWork = unitOfWork;
      this.designationRepository = designationRepository;
 }