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