public IActionResult TypesHousingdisplay() { List <TypesHousing> list = new List <TypesHousing>(); try { list = bll.TypesHousingdisplay(); } catch (Exception ex) { log.Error(ex.Message); } return(Ok(new { data = list })); }