public static bool LLCategoryUpdate(EntityCategory cat) { if (cat.categoryName != "") { return(DALCategory.CategoryUpdate(cat)); } else { return(false); } }