public ActionResult <Garden> GetById(int Id) { try { var userId = HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value; return(Ok(_gs.GetById(Id, userId))); } catch (Exception e) { return(BadRequest(e.Message)); }; }