public void BeforeAcceptChanges(ScheduleSettings storable) { storable.CompletionDate = storable.CalculateCompletionDate(); }
public bool CanAcceptChanges(ScheduleSettings storable) { return(storable != null && !storable.CompletionDate.HasValue && storable.CheckDateRange(storable.CalculateCompletionDate())); }