public List <Category> GetCategoryList() { var category = blogServices.GetCategory(); return(category); }
public ActionResult EditCategory(int id) { var model = _blogServices.GetCategory(id); return(View(model)); }
public List <Category> GetCategoryList() { var category = blogServices.GetCategory(); return(category); }
public ActionResult EditCategory(int id) { var model = _blogServices.GetCategory(id); return(View(model)); }