// GET: BaseCodes/Index public ActionResult Index() { var basecodes = _baseCodeService.Queryable().AsQueryable(); return(View(basecodes)); }
// GET: BaseCodes/Index public async Task <ActionResult> Index() { var basecodes = _baseCodeService.Queryable(); return(View(await basecodes.ToListAsync())); }