public void AddRecipient(Recipient target) { int maxid = this.recipientList.Max(x => x.ID); target.ID = maxid + 1; this.recipientList.Add(target); this.fileDbmgr.Save(); }
public void SaveRecipient(Recipient target) { this.fileDbmgr.Save(); }