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