public Absence(DateTime date, AbsenceType type, bool excused, long student, ITeachingHour hour) { this.Date = date; this.Type = type; this.Excused = excused; this.Student = student; this.Hour = hour; }
public Supplement(bool isHourCanceled, DateTime date, ITeachingHour hour, ISchedule schedule, IPerson teacher = null) { this.IsHourCanceled = isHourCanceled; this.Date = date; this.Hour = hour; this.Schedule = schedule; this.Teacher = teacher; }
public static TeachingHourDTO Convert(ITeachingHour hour) { return new TeachingHourDTO() { Id = hour.Id, Day = hour.Day, Order = hour.Order }; }