Пример #1
0
 public Employee Update(Employee item)
 {
     return Employees.Update(item);
 }
Пример #2
0
 public Employee Create(Employee item)
 {
     return Employees.Create(item);
 }
Пример #3
0
 public Task<Employee> CreateAsync(Employee item)
 {
     return Employees.CreateAsync(item);
 }
Пример #4
0
 public Task<Employee> UpdateAsync(Employee item)
 {
     return Employees.UpdateAsync(item);
 }
 /// <summary>
 /// Update an existing employee in the organization.
 /// </summary>
 /// <param name="employee">Employee to be updated.</param>
 /// <returns>An updated employee.</returns>
 public Employee UpdateEmployee(Employee employee)
 {
     return _api.Update(employee);
 }