public PartialViewResult Menu(string category = null, string name = null, string cost = null) { ViewBag.SelectedCategory = name; ViewBag.SelectedCost = cost; ViewBag.Category = category; MenuViewModel model = new MenuViewModel { CategoryName = serviceCatogory.GetFindByNameItem(category), GetCategory = serviceCatogory.GetCategory(category) }; //IEnumerable<string> CategoryName = serviceCatogory.GetFindByNameItem(category); //serviceItem.GetByCategoryName(); return(PartialView(model)); }