Esempio n. 1
0
 public bool GetSemester(CoreApp.BusinessModels.SemesterUpdate semester)
 {
     return(semester.StartDate.TryGetSemesterType() ?? false); //error default(false = winter)
 }
Esempio n. 2
0
 public string GetAcademicYear(CoreApp.BusinessModels.SemesterUpdate semester)
 {
     return(semester.StartDate.TryGetAcademicYear(semester.IsWinter));
 }