/// <summary>
 /// Gets all.
 /// </summary>
 /// <returns>The all.</returns>
 public async Task <Order> Create(Order order)
 {
     return(await RestDataService.Post <Order>(Url, order));
 }
 /// <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));
 }