public ActionResult Create() { User curUser = um.FindByIdAsync(AbpSession.UserId.ToString()).Result; List <Dict> PoolType = ds.GetPoolType(curUser); var CoachType = ds.FindList(x => x.ParentId == (int)EnumList.CoachType).ToList(); var CourseType = ds.FindList(x => x.ParentId == (int)EnumList.CourseType).ToList(); var State = ds.FindList(x => x.ParentId == (int)EnumList.State).ToList(); var Customers = cs.FindList(x => true).ToList(); ViewData["PoolType"] = new SelectList(PoolType, "Id", "DValue"); ViewData["CoachType"] = new SelectList(CoachType, "Id", "DValue"); ViewData["CourseType"] = new SelectList(CourseType, "Id", "DValue"); ViewData["State"] = new SelectList(State, "Id", "DValue"); return(View()); }