public async Task <HttpResponseMessage> UpdateOrderAsync(string id, Orders value) { var client = new HttpClient(); return(await client.PutAsync($"{baseUrl}api/Default/{id}", getStringContentFromObject(value))); }
public async Task <HttpResponseMessage> InsertOrderAsync(Orders value) { var client = new HttpClient(); return(await client.PostAsync($"{baseUrl}api/Default", getStringContentFromObject(value))); }