public ActionResult <IEnumerable <Player> > Get() { try { return(Ok(_ps.Get())); } catch (Exception e) { return(BadRequest(e.Message)); } }
public ActionResult <List <PlayersDocument> > GetPlayers() { return(Ok(_playersService.Get())); }