コード例 #1
0
ファイル: Doctor.cs プロジェクト: Loki636/WebSiteDogs
 public void AddReceiving(Receiving receiving)
 {
     if (receiving != null)
     {
         Receivings.Add(receiving);
     }
 }
コード例 #2
0
ファイル: Doctor.cs プロジェクト: Loki636/WebSiteDogs
 public bool TransferReceiving(Receiving receiving, DateTime dateReceiving)
 {
     if (receiving != null && dateReceiving.CompareTo(receiving.DateReceiving) > 1)
     {
         receiving.DateReceiving = dateReceiving;
         return true;
     }
     return false;
 }