public ActionResult <House> FindHouseById(string houseId) { try { return(Ok(_hs.FindHouseById(houseId))); } catch (System.Exception err) { return(BadRequest(err.Message)); } }
public ActionResult <House> FindHouseById(string houseId) { try { return(Ok(_hs.FindHouseById(houseId))); } catch (System.Exception err) { return(BadRequest(err.Message)); } }