OperationUpdateUserAsync - метод
Обновляет карточку сотрудника
Пространство имён: Tessa.Extensions.Default.Console.ImportUsersСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
public Task<bool> UpdateUserAsync(
Card userCard,
UserInfo user,
DepartmentInfo? department = null,
CancellationToken cancellationToken = default
)
Public Function UpdateUserAsync (
userCard As Card,
user As UserInfo,
Optional department As DepartmentInfo = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Boolean)
public:
Task<bool>^ UpdateUserAsync(
Card^ userCard,
UserInfo^ user,
DepartmentInfo^ department = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
member UpdateUserAsync :
userCard : Card *
user : UserInfo *
?department : DepartmentInfo *
?cancellationToken : CancellationToken
(* Defaults:
let _department = defaultArg department null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<bool>
- userCard Card
- Карточка сотрудника
- user UserInfo
- Истогчник данных с информацией о сотруднике
- department DepartmentInfo (Optional)
- Департамент
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskBooleanПризнак успешности операции