public EmployeeController(IClientRepository ClientRepo, IDeclarationFormRepository DeclarationRepo, IEmployeeRepository EmployerRepo, IHourRowRepository HourRowRepo)
 {
     clientRepo      = ClientRepo;
     declarationRepo = DeclarationRepo;
     employerRepo    = EmployerRepo;
     hourRowRepo     = HourRowRepo;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 public DeclarationFormRepository(ApplicationDbContext context, IHourRowRepository hourRowRepo)
 {
     this.context     = context;
     this.hourRowRepo = hourRowRepo;
 }