Пример #1
0
 public void Update(Departure departure)
 {
     _departure = departure;
 }
Пример #2
0
 public static DateTime GetDepartureTime(this Departure departure)
 {
     return(DateTime.Parse(departure.date).Add(DateTime.Parse(departure.rtTime ?? departure.time).TimeOfDay));
 }
Пример #3
0
 public DepartureViewModel(Departure departure)
 {
     _departure = departure;
 }