Пример #1
0
 /// <summary>
 /// Gets all.
 /// </summary>
 /// <returns>The all.</returns>
 public async Task <Order> Create(Order order)
 {
     return(await RestDataService.Post <Order>(Url, order));
 }
Пример #2
0
 /// <summary>
 /// Create the specified client.
 /// </summary>
 /// <param name="client">Client.</param>
 public async Task <Client> Create(Client client)
 {
     return(await RestDataService.Post <Client>(Url, client));
 }
Пример #3
0
 /// <summary>
 /// Gets all.
 /// </summary>
 /// <returns>The all.</returns>
 public async Task <List <Product> > GetAll()
 {
     return(await RestDataService.Get <List <Product> >(Url));
 }