// GET: BaseCodes/Index
        public ActionResult Index()
        {
            var basecodes = _baseCodeService.Queryable().AsQueryable();

            return(View(basecodes));
        }
Example #2
0
        // GET: BaseCodes/Index
        public async Task <ActionResult> Index()
        {
            var basecodes = _baseCodeService.Queryable();

            return(View(await basecodes.ToListAsync()));
        }