public static string CheckDelete(int id) { string response = ""; if (!ProductHandler.DeleteProductById(id)) { response = "Product not found!"; } return(response); }
public static string CheckDelete(int id) { string response = ""; if (!ProductHandler.DeleteProductById(id)) { response = "Product not found!"; } return(response); }