public void DeleteCompany(Company company)
 {
     if (company == null)
     {
         throw new ArgumentNullException(nameof(company));
     }
     _dbContext.Remove <Company>(company);
 }
Пример #2
0
 public void DeleteEmployee(Employee employee)
 {
     _routineDbContext.Remove(employee);
 }