public void DeleteCompany(Company company) { if (company == null) { throw new ArgumentNullException(nameof(company)); } _dbContext.Remove <Company>(company); }
public void DeleteEmployee(Employee employee) { _routineDbContext.Remove(employee); }