public EmployeeController(IClientRepository ClientRepo, IDeclarationFormRepository DeclarationRepo, IEmployeeRepository EmployerRepo, IHourRowRepository HourRowRepo) { clientRepo = ClientRepo; declarationRepo = DeclarationRepo; employerRepo = EmployerRepo; hourRowRepo = HourRowRepo; }
public EmployeeController(IClientRepository ClientRepo, IDeclarationFormRepository DeclarationRepo, IEmployeeRepository EmployeeRepo, IHourRowRepository HourRowRepo, IWebHostEnvironment he, UserManager <Employee> userManager = null) { clientRepo = ClientRepo; declarationRepo = DeclarationRepo; employeeRepo = EmployeeRepo; hourRowRepo = HourRowRepo; _userManager = userManager; this.he = he; }
public DeclarationFormRepository(ApplicationDbContext context, IHourRowRepository hourRowRepo) { this.context = context; this.hourRowRepo = hourRowRepo; }