public List<CategoryDTO> SearchCate(string info)
 {
     CategoryDAO dao=new CategoryDAO();
     return dao.SearchCategory(info);
 }
 public int UpdateCategory(CategoryDTO category)
 {
     CategoryDAO dao = new CategoryDAO();
     return dao.UpdateCategory(category);
 }
 public int InsertCategory(CategoryDTO category)
 {
     CategoryDAO dao = new CategoryDAO();
     return dao.InsertCategory(category);
 }
 public List<CategoryDTO> GetSubCategory(string parentCate)
 {
     CategoryDAO dao = new CategoryDAO();
     return dao.GetSubCategory(parentCate);
 }
 public List<CategoryDTO> GetLv1Catagory()
 {
     CategoryDAO dao = new CategoryDAO();
     return dao.GetLv1Category();
 }
 public CategoryDTO GetCategoryById(String categoryId)
 {
     CategoryDAO dao = new CategoryDAO();
     return dao.GetCategoryById(categoryId);
 }
 public int DeleteCategory(CategoryDTO category)
 {
     CategoryDAO dao = new CategoryDAO();
     return dao.DeleteCategory(category);
 }