public ActionResult <IEnumerable <House> > getAllHouses() { try { return(Ok(_hs.getAllHouses())); } catch (Exception e) { return(BadRequest(e.Message)); } }
public ActionResult <IEnumerable <House> > getAllHouses() { try { return(Ok(_hs.getAllHouses())); } catch (Exception e) { return(BadRequest(e.Message)); } }