public ActionResult <SiteDetailResponseModel> GetSite([FromBody] SiteDetailInputModel data) { SiteDetailResponseModel res = new SiteDetailResponseModel(); try { SiteBL bl = new SiteBL(DbContext); var temp = bl.GetSiteDetail(data); res.data = temp; res.Message = "Success"; res.Response = true; return(res); } catch (Exception ex) { res.Message = ex.Message; res.Response = false; return(res); } }