public ApiResult <ReportRequest> Report(int reportId) { return(Execute(() => { var request = Mapper.Map <ReportRequest>(_reportsRepository.GetReport(reportId)); request.ReportRequestParameters.ForEach(one => { if (one.ParameterViewName == "ActiveFlagDropDown") { one.ParameterValue = "1"; } }); return request; })); }
public saCommonReportData GetReport(saReportParams param) { try { if (AuthHelper.VerifyToken(param.token)) { return(repository.GetReport(param)); } else { //not verified return(null); } } catch (Exception) { throw; } }
public ReportVM GetReport(int reportId) { return(_repo.GetReport(reportId)); }
T IReportsQuery.GetReport <T>(Guid clientId) { return(_repository.GetReport <T>(clientId)); }