Пример #1
0
 /// <summary>
 /// Remove an existing Backend.Model.Util.TimeInterval from the collection
 /// </summary>
 /// <pdGenerated>Default Remove</pdGenerated>
 public void RemoveVacationTime(Backend.Model.Util.TimeInterval oldTimeInterval)
 {
     if (oldTimeInterval == null)
     {
         return;
     }
     if (this.vacationTime != null)
     {
         if (this.vacationTime.Contains(oldTimeInterval))
         {
             this.vacationTime.Remove(oldTimeInterval);
         }
     }
 }
Пример #2
0
 /// <summary>
 /// Add a new Backend.Model.Util.TimeInterval in the collection
 /// </summary>
 /// <pdGenerated>Default Add</pdGenerated>
 public void AddVacationTime(Backend.Model.Util.TimeInterval newTimeInterval)
 {
     if (newTimeInterval == null)
     {
         return;
     }
     if (this.vacationTime == null)
     {
         this.vacationTime = new System.Collections.Generic.List <TimeInterval>();
     }
     if (!this.vacationTime.Contains(newTimeInterval))
     {
         this.vacationTime.Add(newTimeInterval);
     }
 }
 private Room FindRoomByTimeInterval(List <Room> rooms, Backend.Model.Util.TimeInterval timeInterval)
 {
     throw new NotImplementedException();
 }
 private List <Room> GetAvailableRooms(Backend.Model.Util.TimeInterval durationOfInpatientCare)
 {
     throw new NotImplementedException();
 }
 private Backend.Model.Accounts.Physitian FindPhysitianByTimeInterval(List <Physitian> physitians, Backend.Model.Util.TimeInterval timeInterval)
 {
     throw new NotImplementedException();
 }