public void Remove(int id) { var vendor = GetById(id); if (vendor != null) { _context.Remove(vendor); } }
public void Remove(int id) { var account = GetById(id); if (account != null) { _context.Remove(account); } }
public void Remove(int id) { var invoice = GetById(id); if (invoice != null) { _context.Remove(invoice); } }