public int UpdateCategory(CategoryDTO category) { CategoryDAO dao = new CategoryDAO(); return dao.UpdateCategory(category); }