public void DeleteSentOutLead(SentOutLead lead) { if (lead == null) { throw new ArgumentNullException(nameof(lead)); } _context.SentOutLead.Remove(lead); }
public void SendLead(SentOutLead lead) { if (lead == null) { throw new ArgumentNullException(nameof(lead)); } _context.SentOutLead.Add(lead); }