public void Update(EmployeeSimple employee) { if (employee == null) { throw new ArgumentNullException(nameof(employee), $"{nameof(employee)} is null."); } base.Update(employee); }
public int Create(EmployeeSimple employee) { if (employee == null) { throw new ArgumentNullException(nameof(employee), $"{nameof(employee)} is null."); } return(Insert <EmployeeSimple, int>(employee)); }