Пример #1
0
 public void DeleteSentOutLead(SentOutLead lead)
 {
     if (lead == null)
     {
         throw new ArgumentNullException(nameof(lead));
     }
     _context.SentOutLead.Remove(lead);
 }
Пример #2
0
 public void SendLead(SentOutLead lead)
 {
     if (lead == null)
     {
         throw new ArgumentNullException(nameof(lead));
     }
     _context.SentOutLead.Add(lead);
 }