public async Task <ActionResult <List <CreateComicCommand> > > GetComics() { var model = await repo.LeerComics(); if (model == null) { return(NotFound()); } //return new string[] { "value1", "value2" }; return(model); }
public async Task <ActionResult> Categories( ) { var comics = await repo.LeerComics(); return(View(comics)); }