public ActionResult <Group> GetById(int id) { try { return(Ok(_gs.GetById(id))); } catch (Exception e) { return(BadRequest(e.Message)); } }