public HomeController(IEmployeeReprository employeeReprository,
                       IWebHostEnvironment hostingEnvironment,
                       RoleManager <IdentityRole> roleManager,
                       UserManager <IdentityUser> userManager,
                       IGuarantorRepo guarantor,
                       IPayment payment,
                       IManageEmployment employment)
 {
     _employeeReprository    = employeeReprository;
     this.hostingEnvironment = hostingEnvironment;
     this.roleManager        = roleManager;
     this.userManager        = userManager;
     this._guarantor         = guarantor;
     this._payment           = payment;
     this._employment        = employment;
 }
Beispiel #2
0
 public EmploymentController(IEmployeeReprository student, IWebHostEnvironment hostingEnvironment, IManageEmployment manageEmployment)
 {
     this._student            = student;
     this._hostingEnvironment = hostingEnvironment;
     this._manageEmployment   = manageEmployment;
 }