コード例 #1
0
 public AbsencesController(IUserRepo dbUser, IAbsence dbAbsence, IAbsenceTypeRepo dbAbsenceType, INotification dbNotify, ITeamLead dbTeamLeads)
 {
     _dbUser        = dbUser;
     _dbAbsence     = dbAbsence;
     _dbAbsenceType = dbAbsenceType;
     _dbNotify      = dbNotify;
     _dbTeamLeads   = dbTeamLeads;
 }
コード例 #2
0
 public EmployeeController(IUserRepo dbUser, INotification dbNotify,
                           ITeamLead dbTeamLeads, IEmployee dbEmployees, IEmployeeEnrollments dbEEmployeeEnrollments)
 {
     _dbUser                = dbUser;
     _dbNotify              = dbNotify;
     _dbTeamLeads           = dbTeamLeads;
     _dbEmployees           = dbEmployees;
     _dbEmployeeEnrollments = dbEEmployeeEnrollments;
 }
コード例 #3
0
 public EmployeeProfilesController(IUserRepo dbUser, INotification dbNotify,
                                   IProject dbProjects, IAbsenceTypeRepo dbAbsencesType, IRealization dbRealizations, IAbsence dbAbsences, ITeamLead dbTeamLeads, IEmployee dbEmployees, IEmployeeEnrollments dbEEmployeeEnrollments)
 {
     _dbUser                = dbUser;
     _dbNotify              = dbNotify;
     _dbTeamLeads           = dbTeamLeads;
     _dbEmployees           = dbEmployees;
     _dbEmployeeEnrollments = dbEEmployeeEnrollments;
     _dbRealizations        = dbRealizations;
     _dbProjects            = dbProjects;
     _dbAbsences            = dbAbsences;
     _dbAbsencesType        = dbAbsencesType;
 }
コード例 #4
0
 public UsersController(
     IAdminUser users,
     ITeamLead teamLeads,
     ICountry country,
     RoleManager <IdentityRole> roleManager,
     UserManager <User> userManager,
     IEmailService emailService)
 {
     this.users        = users;
     this.teamLeads    = teamLeads;
     this.country      = country;
     this.roleManager  = roleManager;
     this.userManager  = userManager;
     this.emailService = emailService;
 }