/// <summary> /// Initializes a new instance of the <see cref="App" /> class. /// </summary> /// <param name="salaryService">The salary service.</param> /// <param name="appConfig">The application configuration.</param> public App( ISalaryService salaryService, AppConfig appConfig) { _salaryService = salaryService; _appConfig = appConfig; }
public SalaryController(UserManager <AppUser> userManager, ISalaryService salaryService, IDepartmentService departmentService) { this.userManager = userManager; this.salaryService = salaryService; this.departmentService = departmentService; }
public WorkerManager(IWorkerDal workerDal, ISalaryService salaryService, IMapper mapper, IWorkerDepartmentTypeService workerDepartmentTypeService) { _workerDal = workerDal; _salaryService = salaryService; _mapper = mapper; _workerDepartmentTypeService = workerDepartmentTypeService; }
public EmployeeService(IEmployeeRepository employeeRepository, IDepartmentService departmentService, ISalaryService salaryService) { _employeeRepository = employeeRepository; _departmentService = departmentService; _salaryService = salaryService; }
public SalaryController(ISalaryService salaryService, ICurrencyService currencyService, ICountryService countryService, ITaxService taxService, IBankAccountService bankAccountService) : base(bankAccountService) { this._salaryService = salaryService; this._currencyService = currencyService; this._countryService = countryService; this._taxService = taxService; }
public salariesController( ISalaryService salaryService, IEmployeeService employeeService ) { _salaryService = salaryService; _employeeService = employeeService; }
public GeneralController(ICompanyService companyService, IUserService userService, IPositionService positionService,IEmployeeService employeeService, IContractService contractService,ISalaryService salaryService) { this.userService = userService; this.companyService = companyService; this.positionService = positionService; this.employeeService = employeeService; this.contractService = contractService; this.salaryService = salaryService; }
public SalaryController(ITableColumnService tableColumnService, IMasterDataService masterDataService, ITableConfigService tableConfigService, ISalaryService salaryService) { _masterDataService = masterDataService; _tableColumnService = tableColumnService; _tableConfigService = tableConfigService; _salaryService = salaryService; this._languageId = CurrentUser.LanguageId; this._userId = CurrentUser.UserId; this._roleId = CurrentUser.RoleId; }
public SalaryPlugin( ILogger <SalaryPlugin> logger, IConfiguration configuration, ISalaryService salaryService, IServiceProvider serviceProvider) : base(serviceProvider) { _logger = logger; _configuration = configuration; _salaryService = salaryService; }
public ProjectWorkerWorkingTimeManager(IProjectWorkerWorkingTimeDal projectWorkerWorkingTimeDal, IProjectWorkerService projectWorkerService, IProjectSectionDepartmentService projectSectionDepartmentService, IProjectSectionService projectSectionService, IProjectService projectService, IWorkerService workerService, IMapper mapper, ISalaryService salaryService) { _projectWorkerWorkingTimeDal = projectWorkerWorkingTimeDal; _projectWorkerService = projectWorkerService; _projectSectionDepartmentService = projectSectionDepartmentService; _projectSectionService = projectSectionService; _projectService = projectService; _workerService = workerService; _mapper = mapper; _salaryService = salaryService; }
public Engine(ISalaryService salaryService, IWriter writer, IReader reader) { this.salaryService = salaryService ?? throw new ArgumentNullException(nameof(salaryService)); this.writer = writer ?? throw new ArgumentNullException(nameof(writer)); this.reader = reader ?? throw new ArgumentNullException(nameof(reader)); }
public EmployeesController( IEmployeeService employeeService, IAddressService addressService, ISalaryService salaryService, IMapper mapper) { _employeeService = employeeService; _addressService = addressService; _salaryService = salaryService; _mapper = mapper; }
public EmployeeController(UserManager<ApplicationUser> UserManager, IExperienceService experienceService, ISalaryService salaryService, IEmployeeService employeeService, ICompanyService companyService, ITerminateService terminateService, IPositionService positionService, IContractService contractService, IInsuranceService insuranceService) { this.employeeService = employeeService; this.companyService = companyService; this.terminateService = terminateService; this.positionService = positionService; this.contractService = contractService; this.insuranceService = insuranceService; this.salaryService = salaryService; this.experienceService = experienceService; this.userManager = UserManager; }
public HomeController(ILogger <HomeController> logger, IEmployeeService employeeService, IDepartmentService departmentService, IDeptEmpService deptEmpService, IDeptManagerService deptManagerService, ISalaryService salaryService, ITitleService titleService ) { _logger = logger; _employeeService = employeeService; _departmentService = departmentService; _deptEmpService = deptEmpService; _deptManagerService = deptManagerService; _salaryService = salaryService; _titleService = titleService; }
public JobProfileIndexEnhancer( IJobProfileRepository jobProfileRepository, IJobProfileCategoryRepository jobProfileCategoryRepository, ISalaryService salaryService, ISalaryCalculator salaryCalculator, IApplicationLogger applicationLogger) { this.jobProfileRepository = jobProfileRepository; this.jobProfileCategoryRepository = jobProfileCategoryRepository; this.salaryService = salaryService; this.salaryCalculator = salaryCalculator; this.applicationLogger = applicationLogger; }
public SalaryController(ITableColumnService tableColumnService, IMasterDataService masterDataService, ITableConfigService tableConfigService, ISalaryService salaryService, ISalaryElementService salaryElementService, IStaffService staffService, IOrganizationService organizationService, ILocalizationService localizationService) { _masterDataService = masterDataService; _tableColumnService = tableColumnService; _tableConfigService = tableConfigService; _salaryService = salaryService; _salaryElementService = salaryElementService; _staffService = staffService; _organizationService = organizationService; _localizationService = localizationService; this._languageId = CurrentUser.LanguageId; this._userId = CurrentUser.UserId; this._roleId = CurrentUser.RoleId; }
public ActionResult <bool> Post([FromServices] ISalaryService service, webapi.dto.Employee employee) { if (double.TryParse(employee.Rate, out double rateNum) == false) { return(BadRequest()); } return(Ok(service.Save(new salary.dto.Employee() { Name = employee.Name, Kind = employee.Kind, Rate = rateNum }))); }
public HumanPresentation( IUserRepository userRepository, IDepartmentRepository departmentRepository, IMapper mapper, IEmployeRepository employeRepository, IUserService userService, IAccrualRepository accrualRepository, ISalaryService salaryService, IBankAccountRepository bankAccountRepository) { _userRepository = userRepository; _departmentRepository = departmentRepository; _mapper = mapper; _employeRepository = employeRepository; _userService = userService; _accrualRepository = accrualRepository; _salaryService = salaryService; _bankAccountRepository = bankAccountRepository; }
public JobProfileService( IJobProfileSynopsisService jobProfileSynopsisService, IHowToBecomeService howToBecomeService, ISkillsService skillsService, IWhatYouWillDoService whatYouWillDoService, ICareerPathService careerPathService, ICurrentOppurtunitiesService currentOppurtunitiesService, ISalaryService salaryService, IWorkingPatternsService workingPatternsService ) { this.jobProfileSynopsisService = jobProfileSynopsisService; this.howToBecomeService = howToBecomeService; this.skillsService = skillsService; this.whatYouWillDoService = whatYouWillDoService; this.careerPathService = careerPathService; this.currentOppurtunitiesService = currentOppurtunitiesService; this.salaryService = salaryService; this.workingPatternsService = workingPatternsService; }
public ActionResult <webapi.dto.Employee> GetEmployeeWithMaxHourlyRate([FromServices] ISalaryService service) { var employee = _mapper.Map <EmployeeBase, webapi.dto.Employee>(service.GetEmployeeWithMaxHourlyRate()); return(Ok(employee)); }
public SalaryCommand(IConfiguration configuration, IStringLocalizer stringLocalizer, ISalaryService salaryService, IServiceProvider serviceProvider) : base(serviceProvider) { _configuration = configuration; _salaryService = salaryService; _stringLocalizer = stringLocalizer; }
public EmployeeListProvider(IEmployeesRepository employeesRepository, IEmployeeCodeService employeeCodeService, ISalaryService salaryService) { this.employeesRepository = employeesRepository; this.employeeCodeService = employeeCodeService; this.salaryService = salaryService; }
public SalaryController(ISalaryService salaryService) { _salaryService = salaryService; }
public StaticController(ISalaryService salaryService) { this.salaryService = salaryService; }
public Processing(IEmployeeService employeeService, IDepartmentService departmentService, ISalaryService salaryService) { this.employeeService = employeeService; this.departmentService = departmentService; this.salaryService = salaryService; }
public SalariesController(IEmployeeService employeeService, ISalaryService salaryService) { this.employeeService = employeeService; this.salaryService = salaryService; }
public SalaryController(ISalaryService SalaryService) { _SalaryService = SalaryService; }
public EmployeesController(IEmployeeService employeeService, ITitleService titleService, ISalaryService salaryService) { _employeeService = employeeService; _titleService = titleService; _salaryService = salaryService; }
public void SetUp() { _salaryService = new HourlySalaryService(); }
public async Task <ActionResult <webapi.dto.Employee> > GetEmployee([FromServices] ISalaryService service, string name) { var employee = _mapper.Map <EmployeeBase, webapi.dto.Employee>(service.Get(name)); return(await Task.FromResult <ActionResult <webapi.dto.Employee> >(Ok(employee))); }
public ActionResult <IEnumerable <webapi.dto.Employee> > GetEmployees([FromServices] ISalaryService service, [FromQuery] long limit = 2, [FromQuery] long offset = 0) { var employees = _mapper.Map <IEnumerable <EmployeeBase>, IReadOnlyList <webapi.dto.Employee> >(service.GetMany(limit, offset)); return(Ok(employees)); }
public SalaryController(ISalaryService _service) { service = _service; }
public ActionResult <double> GetTotalSalarySum([FromServices] ISalaryService service) { return(Ok(service.GetMonthlyCost())); }