Exemplo n.º 1
0
 /// <summary>
 /// Отправить данные коллекции асинхронно
 /// </summary>
 public async Task <IResultCollection <TId> > PostCollectionAsync(IEnumerable <TDomain> domains) =>
 await _transferConverter.ToTransfers(domains).
 ToJsonTransfer().
 ResultValueBindOkToCollectionAsync(json =>
                                    RestHttpClient.PostCollectionAsync <TId>(RestRequest.PostRequestCollection(ControllerName), json));