private WeekDay GetCopy(WeekDay weekDay) { return new WeekDay() { Day = weekDay.Day, IsActive = weekDay.IsActive, StartTime = weekDay.StartTime, EndTime = weekDay.EndTime }; }
public static string BuildWeekDayString(WeekDay weekDay) { if (weekDay == null) return String.Empty; return weekDay.Day.ToString() + weekDay.EndTime.ToString() + weekDay.StartTime.ToString() + weekDay.IsActive.ToString(); }
public WeekDayViewModel(WeekDay weekDay) { this.Model = weekDay; }