public static async Task <ServerResponse <object, OrderErrorMessage> > UpdateOrder(int orderID, Order order)
 {
     return(await FetchApi.PutAsync <OrderErrorMessage>($"orders/{orderID}", order));
 }
예제 #2
0
 public static async Task <ServerResponse <object, UserErrorMessage> > UpdateUser(int userID, User user)
 {
     return(await FetchApi.PutAsync <UserErrorMessage>("user/" + userID, user));
 }
 public static async Task <ServerResponse <object, CatalogErrorMessage> > UpdateCatalog(int catalogID, Catalog catalog)
 {
     return(await FetchApi.PutAsync <CatalogErrorMessage>("catalogs/" + catalogID, catalog));
 }
예제 #4
0
 public static async Task <ServerResponse <object, ComboErrorMessage> > UpdateCombo(int comboID, object combo)
 {
     return(await FetchApi.PutAsync <ComboErrorMessage>("combos/" + comboID, combo));
 }