Beispiel #1
0
 public int CompareTo(SchedulingEntity other)
 {
     if (CompanyId == other.CompanyId)
     {
         return(DateStart.CompareTo(other.DateStart));
     }
     else
     {
         return(CompanyId.CompareTo(other.CompanyId));
     }
 }
Beispiel #2
0
 public int CompareTo(CompanyCalenderEntity other)
 {
     if (CompanyId == other.CompanyId)
     {
         return(DateStart.CompareTo(other.DateStart));
     }
     else
     {
         return(CompanyId.CompareTo(other.CompanyId));
     }
 }