public int GetCategoryId(string categoryName) { int statusId = statusDao.GetStatus(Status.VALUE.CATEGORY_ACTIVE.ToString()).Id; return(categoryDao.IsExist(categoryName, statusId)); }