public ActionResult AddCategory(string newcategory) { repo.AddCategories(newcategory); return(RedirectToAction("Index")); }