Exemple #1
0
 public static void UpdateCard(ReadCard readCard, EditCard editCard)
 {
     if (readCard != null && editCard != null)
     {
         readCard.Name        = editCard.Name;
         readCard.Description = editCard.Description;
         readCard.DueDate     = editCard.DueDate;
     }
 }
Exemple #2
0
 public EditCard(ReadCard card)
 {
     if (card != null)
     {
         CardId      = card.CardId;
         Name        = String.Copy(card.Name);
         Description = String.Copy(card.Description);
         Timestamp   = card.Timestamp;
         DueDate     = card.DueDate;
     }
 }
Exemple #3
0
 public static void UpdateCard(ReadCard card, BasicCardDTO dto)
 {
     card.Description = dto.Description;
     card.DueDate     = dto.DueDate;
     card.Name        = dto.Name;
 }