Exemplo n.º 1
0
 private DailyRoute(DateTime createDate, DateTime startDate, Route route, Guid id, int freeSeats, MoneyValue moneyValue)
 {
     Id         = id;
     Route      = route;
     CrateDate  = createDate;
     StartDate  = startDate;
     FreeSeats  = freeSeats;
     MoneyValue = moneyValue;
 }
Exemplo n.º 2
0
 public static DailyRoute CreateDailyRoute(DateTime createDate, DateTime startDate, Route route, Guid id, int freeSeats, MoneyValue moneyValue)
 => new DailyRoute(createDate, startDate, route, id, freeSeats, moneyValue);