예제 #1
0
 /// <summary>
 /// Отправить данные асинхронно
 /// </summary>
 public async Task <IResultValue <TId> > PostValueAsync(TDomain domain) =>
 await _transferConverter.ToTransfer(domain).
 ToJsonTransfer().
 ResultValueBindOkAsync(json =>
                        RestHttpClient.PostValueAsync <TId>(RestRequest.PostRequest(ControllerName), json));