public List <LossRatioReportModel> GetSearchLossRatioReports(ReportLossRatioSearchModel reportSearchModel)
        {
            var obj = new
            {
                SearchPolicy      = reportSearchModel.SearchPolicy,
                SearchCompanyName = reportSearchModel.SearchCompanyName,
            };

            return(QueryExecutor.Query <LossRatioReportModel>(StoreProcedures.usp_GetTPAReportForLossRatio.ToString(), obj, CommandType.StoredProcedure).ToList());
        }
        public List <LossRatioReportModel> SearchLossRatioReports(ReportLossRatioSearchModel reportSearchModel)
        {
            var URL     = string.Format($"{AppSettings.BaseApiUrl}{ApiUrls.SearchReportApiURL.SearchLossRatioReports}");
            var Content = Post <List <LossRatioReportModel> >(URL, reportSearchModel);

            if (Content.IsSuccessful)
            {
                return(Content.Model);
            }
            else
            {
                return(new List <LossRatioReportModel>());
            }
        }