public static async Task <ServerResponse <object, OrderErrorMessage> > DeleteOrder(int orderID)
 {
     return(await FetchApi.DeleteAsync <OrderErrorMessage>($"orders/{orderID}"));
 }
 public static async Task <ServerResponse <object, CatalogErrorMessage> > DeleteCatalog(int catalogID)
 {
     return(await FetchApi.DeleteAsync <CatalogErrorMessage>("catalogs/" + catalogID));
 }
 public static async Task <ServerResponse <object, ProductErrorMessage> > DeleteProduct(int productID)
 {
     return(await FetchApi.DeleteAsync <ProductErrorMessage>("products/" + productID));
 }
示例#4
0
 public static async Task <ServerResponse <object, UserErrorMessage> > DeleteUser(int userID)
 {
     return(await FetchApi.DeleteAsync <UserErrorMessage>("user/" + userID));
 }
示例#5
0
 public static async Task <ServerResponse <object, ComboErrorMessage> > DeleteCombo(int comboID)
 {
     return(await FetchApi.DeleteAsync <ComboErrorMessage>("combos/" + comboID));
 }