Example #1
0
 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;
 }
Example #2
0
 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;
 }
Example #3
0
 public static TeachingHourDTO Convert(ITeachingHour hour)
 {
     return new TeachingHourDTO()
     {
         Id = hour.Id,
         Day = hour.Day,
         Order = hour.Order
     };
 }