public EmployeeAbsencesViewModel(EmployeeAbsencesView absencesView, vwManager manager) { this.absencesView = absencesView; Manager = manager; AbsencesList = managers.GetRequests(Manager); }
public EmployeeAbsencesViewModel(EmployeeAbsencesView absencesView, vwEmployee employee) { this.absencesView = absencesView; Employee = employee; AbsencesList = absences.GetEmployeeRequests(Employee); }