Esempio n. 1
0
 public void AddReceiving(Receiving receiving)
 {
     if (receiving != null)
     {
         Receivings.Add(receiving);
     }
 }
Esempio n. 2
0
 public bool TransferReceiving(Receiving receiving, DateTime dateReceiving)
 {
     if (receiving != null && dateReceiving.CompareTo(receiving.DateReceiving) > 1)
     {
         receiving.DateReceiving = dateReceiving;
         return true;
     }
     return false;
 }