public void Remove(Employee employee) { if (employee == null) { throw new ArgumentException("пользователь"); } employeesDAO.Remove(employee); }
public void Remove(EmployeeViewModel employee) { employeeDataAccessObject.Remove(employee.Id); }