public SupervisorController(IEmployeeService empService, IExpenseReportService rptService, Employee employee,IBudgetService budget) { employeeService = empService; reportService = rptService; this.employee = employee; deptBudget = budget; }
public AccountsController(IEmployeeService empService, IExpenseReportService rptService, Employee employee,IBudgetService budget) { employeeService = empService; reportService = rptService; this.employee = employee; budgetTracker = budget; }
public AccountsController() { reportService = new ExpenseReportService(); employeeService = new EmployeeService(); config = new ConfigurationDAL(); budgetTracker = new CompanyBudgetService(decimal.Parse((string)config.GetAppSetting(COMPANY_BUDGET_KEY))); employee = employeeService.GetEmployee((int)Membership.GetUser().ProviderUserKey); }
public ExpenseController(UserManager <IdentityUser> userManager, IExpenseReportService expenseReportService, ICategoryService categoryService, IPaymentTypeService paymentTypeService) { this.userManager = userManager; _expenseReportService = expenseReportService; _categoryService = categoryService; _paymentTypeService = paymentTypeService; }
public SupervisorController() { reportService = new ExpenseReportService(); employeeService = new EmployeeService(); employee = employeeService.GetEmployee((int)Membership.GetUser().ProviderUserKey); deptBudget = new DepartmentBudgetService(employee.Department); deptBudget.SetBudgetSpent(TODAY.Month, TODAY.Year); }
public ConsultantController() { reportService = new ExpenseReportService(); employeeService = new EmployeeService(); currencyService = new CurrencyService(); fileUploader = new FileUploader(); employee = employeeService.GetEmployee((int)Membership.GetUser().ProviderUserKey); }
public DailyPuzzleService(IExpenseReportService expenseReportService, IPasswordReportService passwordReportService, IXmasTreeMapService xmasTreeMapService) { _expenseReportService = expenseReportService ?? throw new ArgumentNullException(nameof(expenseReportService)); _passwordReportService = passwordReportService ?? throw new ArgumentNullException(nameof(passwordReportService)); _xmasTreeMapService = xmasTreeMapService ?? throw new ArgumentNullException(nameof(xmasTreeMapService)); }
public ExpenseReportController(INotifier notifier, IMapper mapper, IExpenseReportRepository expenseRepository, IExpenseReportService expenseService, IImageFileService imageFileService, IConfiguration configuration, ICompanyUserService appUser, IAuthorizationService authorizationService) : base(appUser, notifier) { _mapper = mapper; _expenseReportRepository = expenseRepository; _expenseReportService = expenseService; _imageFileService = imageFileService; _configuration = configuration; _authorizationService = authorizationService; }
public ConsultantController(IEmployeeService empService, IExpenseReportService rptService, Employee employee) { employeeService = empService; reportService = rptService; this.employee = employee; }