Пример #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
 /// <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;
 }
 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
        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;
 }
 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;
 }
 public DesignationController(IDesignationRepository designationRepository, ILogger <DesignationController> logger)
 {
     this.designationRepository = designationRepository;
     this.logger = logger;
 }
 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
 public DesignationService(UnitOfWork unitOfWork,IDesignationRepository designationRepository)
 {
     this.unitOfWork = unitOfWork;
      this.designationRepository = designationRepository;
 }