Example #1
0
        public List <Category> GetCategoryList()
        {
            var category = blogServices.GetCategory();

            return(category);
        }
        public ActionResult EditCategory(int id)
        {
            var model = _blogServices.GetCategory(id);

            return(View(model));
        }