public AdminAttendenceController(IEmpRepository empRepository, IWebHostEnvironment webHostEnvironment, AttendenceRepo attendenceRepo, JobRepository jobRepository) { _empRepository = empRepository; _jobRepository = jobRepository; _webHostEnvironment = webHostEnvironment; _attendenceRepository = attendenceRepo; }
public StaffHomeController(IEmpRepository empRepository, IWebHostEnvironment webHostEnvironment, LeaveRepository leaveRepository, TaskRepo taskRepository) { _taskRepository = taskRepository; _leaveRepository = leaveRepository; _empRepository = empRepository; _webHostEnvironment = webHostEnvironment; }
public AdminTimeSController(IEmpRepository empRepository, IWebHostEnvironment webHostEnvironment, TaskRepo taskRepository, JobRepository jobRepository) { _empRepository = empRepository; _jobRepository = jobRepository; _webHostEnvironment = webHostEnvironment; _taskRepository = taskRepository; }
public EmployeeQuery(IEmpRepository employeeRepository) { Field <ListGraphType <EmployeeType> >( "employe", resolve: context => employeeRepository.GetEmployees() ); }
public EmpService(IEmpRepository empRepository, ILoggerManager logger, IOptions <AppSetting> appSetting, IMapper mapper) { _empRepository = empRepository; _logger = logger; _appSetting = appSetting; _mapper = mapper; }
public EmpService(IEmpRepository empRepository, IMapper mapper, MapperConfiguration mapperConfiguration, IWebHostEnvironment webHostEnvironment) { _mapperConfiguration = mapperConfiguration; _webHostEnvironment = webHostEnvironment; _mapper = mapper; _empRepository = empRepository; }
public Emp_ManageController(IEmpRepository empRepository, IWebHostEnvironment webHostEnvironment, JobRepository jobRepository, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager) { _empRepository = empRepository; _jobRepository = jobRepository; _webHostEnvironment = webHostEnvironment; _userManager = userManager; _signInManager = signInManager; }
public AdminLeaveController(TaskRepo taskRepo, IEmpRepository empRepository, IWebHostEnvironment webHostEnvironment, LeaveRepository leaveRepository, JobRepository jobRepository) { _empRepository = empRepository; _jobRepository = jobRepository; _webHostEnvironment = webHostEnvironment; _leaveRepository = leaveRepository; _taskRepository = taskRepo; }
public EmployeeService(IApplicantsRepository applicantsRepository, IMemberRepository memberRepository, IEmpRepository employeeRepository, IAutoMapper autoMapper) { _memberRepository = memberRepository; _employeeRepository = employeeRepository; _autoMapper = autoMapper; _applicantsRepository = applicantsRepository; }
public EmployeeHomeController(TaskRepo taskRepo, AttendenceRepo attendenceRepo, LeaveRepository leaveRepository, IEmpRepository empRepository, IWebHostEnvironment webHostEnvironment, TimeTrackRepo timeTrackRepo, EmpStoreContext context, Repo4 repo4) { _timeTrackRepo = timeTrackRepo; _empRepository = empRepository; _webHostEnvironment = webHostEnvironment; _context = context; _leaveRepository = leaveRepository; _attendenceRepository = attendenceRepo; _taskRepository = taskRepo; _repo4 = repo4; }
public TeeTimesService(ITeeTimeRepository teeTimeRepository, IReserveRepository reservationRepository, IMemberRepository memberRepository, IEmpRepository employeeRepository, IAutoMapper autoMapper) { _teeTimeRepository = teeTimeRepository; _reservationRepository = reservationRepository; _memberRepository = memberRepository; _employeeRepository = employeeRepository; _autoMapper = autoMapper; }
// // GET: /EmpMan/Create public EmpManController() { if (System.Configuration.ConfigurationManager.AppSettings["RepoType"] == "ef") { empRepo = new EFEmpRepository(); } else if (System.Configuration.ConfigurationManager.AppSettings["RepoType"] == "mock") { empRepo = new MockEmpRepository(); } }
public static List <EmpMan> FormatManager(IEmpRepository empRepo, string ln, string fn) { var lst2 = (from c in empRepo.Emps where !(c.FirstName == fn && c.LastName == ln) select c).Distinct(); List <Emp> emps = lst2.ToList <Emp>(); List <EmpMan> em = new List <EmpMan>(); foreach (Emp ep in emps) { string smn = ep.FirstName + "_" + ep.LastName; if (smn.Length >= 100) { smn = smn.Substring(0, 98); } EmpMan nmn = new EmpMan(); nmn.manid = smn; if (!em.Contains(nmn)) { em.Add(nmn); } } return(em); }
public HRLogic(IEmpRepository empRepo, IDeptRepository deptRepo) { this.empRepo = empRepo; this.deptRepo = deptRepo; }
public HRLogic() { empRepo = new EmpRepository(new HRDBContext()); deptRepo = new DeptRepository(new HRDBContext()); }
public EmployeeController(IEmpRepository stateRepo) { _stateRepo = stateRepo; }
public HumanResourcesService(IEmpRepository repository) { _repository = repository; _repository.ConnectionString = ConfigurationManager.AppSettings["externalApi.Url"]; _dtoEmployeeInfo = new List <EmployeeInfo>(); }
public ManagerLeaveController(IEmpRepository empRepository, IWebHostEnvironment webHostEnvironment, LeaveRepository leaveRepository) { _empRepository = empRepository; _leaveRepository = leaveRepository; _webHostEnvironment = webHostEnvironment; }
public RecordService(IRecordRepository recordRepository, IEmpRepository empRepository, IPrizeRepository prizeRepository) { _prizeRepository = prizeRepository; _empRepository = empRepository; _recordRepository = recordRepository; }
public EmpService(IEmpRepository empRepository, ILoginLogRepository loginLogRepository) : base(empRepository) { this._empRepository = empRepository; this._loginLogRepository = loginLogRepository; }
public EmployeeController(IEmpRepository repo) { _repo = repo; }
public EmpChangedEventHandler(IEmpRepository empRepository, MyDbContext dbContext) { _empRepository = empRepository; _dbContext = dbContext; }
public ModelFactory(HttpRequestMessage request, IEmpRepository repo) { _urlHelper = new UrlHelper(request); _repo = repo; }
public EmpController(IEmpRepository <Emp> empRepository) { _empRepository = empRepository; }
public ManagerTimeSController(IEmpRepository empRepository, IWebHostEnvironment webHostEnvironment, TaskRepo taskRepo) { _empRepository = empRepository; _taskRepository = taskRepo; _webHostEnvironment = webHostEnvironment; }
public EmpController(IEmpRepository _empRepository) { empRepository = _empRepository; }
public BaseEmpApiController(IEmpRepository repo) { _repo = repo; }
public EmpController(IEmpRepository repos) { this.repos = repos; }
public EmployeeController(IEmpRepository repo) : base(repo) { }
public EmpService(IEmpRepository empRepository) { _empRepository = empRepository; }
public EmpService(IUnitOfWorks unitOfWork, IEmpRepository empRepository) : base(unitOfWork, empRepository) { _unitOfWork = unitOfWork; _empRepository = empRepository; }
public ReviewDashController(IEmpRepository empRepository, LeaveRepository leaveRepository, TaskRepo taskRepository) { _taskRepository = taskRepository; _leaveRepository = leaveRepository; _empRepository = empRepository; }
public ManagerDashController(IEmpRepository empRepository, IWebHostEnvironment webHostEnvironment) { _empRepository = empRepository; _webHostEnvironment = webHostEnvironment; }