// GET: Service public async Task <ActionResult> Index(string message) { ViewBag.StatusMessage = message; var viewModel = new SelectList(await _serviceCategoryManager.GetAllAsync(), "Id", "Name"); return(View(viewModel)); }
// GET: ServiceCategories public async Task <ActionResult> Index() { return(View(await _serviceCategoryManager.GetAllAsync())); }