public static string BuildLockDayString(LockDay lockDay)
        {
            if (lockDay == null)
                return String.Empty;

            return lockDay.Description + lockDay.StartTime + lockDay.EndTime;
        }
 public LockDay CreateLockDay()
 {
     var lockDay = new LockDay();
     lockDay.Description = String.Empty;
     lockDay.StartTime = DateTime.Today;
     lockDay.EndTime = DateTime.Today.AddDays(7);
     return lockDay;
 }
 private LockDay GetCopy(LockDay lockDay)
 {
     return new LockDay()
     {
         Description = lockDay.Description,
         EndTime = lockDay.EndTime,
         StartTime = lockDay.StartTime
     };
 }
 public LockDayViewModel(LockDay lockDay)
 {
     this.Model = lockDay;
 }