public async Task UpdateJobAsync(Guid employeeId, JobDto jobData) { Contract.Argument.IsNotEmptyGuid(employeeId, nameof(employeeId)); await _employeeWriteCommand.UpdateEmployeeJobAsync(employeeId, jobData); }
public async Task UpdateJobAsync(Guid employeeId, JobDto jobData) { Contract.Argument.IsNotNull(jobData, nameof(jobData)); await _employeeWriteCommand.UpdateEmployeeJobAsync(employeeId, jobData).ConfigureAwait(false); }