public ActionResult <Team> GetById(int id) { try { return(Ok(_ps.GetById(id))); } catch (Exception e) { return(BadRequest(e.Message)); } //make another get for another thing }