コード例 #1
0
 public EmployeeController(IClientRepository ClientRepo, IDeclarationFormRepository DeclarationRepo, IEmployeeRepository EmployerRepo, IHourRowRepository HourRowRepo)
 {
     clientRepo      = ClientRepo;
     declarationRepo = DeclarationRepo;
     employerRepo    = EmployerRepo;
     hourRowRepo     = HourRowRepo;
 }
コード例 #2
0
 public AdminController(IDeclarationFormRepository DeclarationFormRepo,
                        IEmployeeRepository EmployeeRepo,
                        IClientRepository ClientRepo,
                        UserManager <Employee> userManager = null)
 {
     _userManager        = userManager;
     declarationFormRepo = DeclarationFormRepo;
     employeeRepo        = EmployeeRepo;
     clientRepo          = ClientRepo;
     monthList           = new List <string> {
         "Januari", "Februari", "March", "April", "May", "June", "Juli", "August", "September", "October", "November", "December"
     };
 }
コード例 #3
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;
 }
コード例 #4
0
 public DownloadController(IDeclarationFormRepository declarationFormRepo)
 {
     this.declarationFormRepo = declarationFormRepo;
 }
コード例 #5
0
 public MailserviceController(IDeclarationFormRepository DeclarationFormRepo, IEmployeeRepository EmployeeRepo)
 {
     declarationFormRepo = DeclarationFormRepo;
     employeeRepo        = EmployeeRepo;
 }