public static bool DeleteCategory(string id) { InventoryBL bl = new InventoryBL(); bool result = bl.DeleteCategory(Convert.ToInt32(id)); return(result); }