public ActionResult <Hero> Get() { try { return(Ok(_service.GetAll())); } catch (Exception e) { return(BadRequest(e.Message)); } }
public ActionResult <Hero> Get() { try { return(Ok(_service.GetAll())); } catch (Exception e) { return(BadRequest(e.Message)); } }