public AbsencesController(IUserRepo dbUser, IAbsence dbAbsence, IAbsenceTypeRepo dbAbsenceType, INotification dbNotify, ITeamLead dbTeamLeads) { _dbUser = dbUser; _dbAbsence = dbAbsence; _dbAbsenceType = dbAbsenceType; _dbNotify = dbNotify; _dbTeamLeads = dbTeamLeads; }
public static AbsenceDTO Convert(IAbsence absence) { return new AbsenceDTO() { Id = absence.Id, Date = absence.Date, Excused = absence.Excused, Type = Convert(absence.Type), Hour = Convert(absence.Hour), Student = absence.Student }; }
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; }