public async Task <ActionResult> Index() { var TypeIdGroupList = new SelectList(await _chartServices.GetChartTypeList(), "TypeId", "Subject"); ViewBag.TypeIdGroupList = TypeIdGroupList; return(View()); }