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)); }
public static async Task <ServerResponse <object, UserErrorMessage> > DeleteUser(int userID) { return(await FetchApi.DeleteAsync <UserErrorMessage>("user/" + userID)); }
public static async Task <ServerResponse <object, ComboErrorMessage> > DeleteCombo(int comboID) { return(await FetchApi.DeleteAsync <ComboErrorMessage>("combos/" + comboID)); }