public DateRange(DateTime from, int duration) { this = new DateRange { From = from, To = from.AddDays(duration) }; }
public DateRange(DateTime from, DateTime to) { this = new DateRange{ From = from, To = to}; }