コード例 #1
0
        public async Task <ActionResult <List <CreateComicCommand> > > GetComics()
        {
            var model = await repo.LeerComics();

            if (model == null)
            {
                return(NotFound());
            }
            //return new string[] { "value1", "value2" };
            return(model);
        }
コード例 #2
0
        public async Task <ActionResult> Categories( )
        {
            var comics = await repo.LeerComics();

            return(View(comics));
        }