public ActionResult <List <Character> > Get() { var character = _characterService.Get(); if (character == null) { return(NotFound()); } return(character); }
public ActionResult <List <Character> > Get() { return(_charactersService.Get()); }
public ActionResult <List <Character> > Get() { // return list of all characters return(_charactersService.Get()); }