예제 #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);
 }