public ActionResult <House> Edit(int id, [FromBody] House houseToUpdate)
 {
     try
     {
         houseToUpdate.Id = id;
         string userId = HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value;
         return(Ok(_hs.edit(houseToUpdate, userId)));
     }
     catch (System.Exception err)
     {
         return(BadRequest(err.Message));
     }
 }