public LeasePakReportingResponse(ILeasePakReport report, bool success)
        {
            _report = report;
            Success = success && report != null;

            Report = new LeasePakReportResponse(_report);
        }
Ejemplo n.º 2
0
        public LeasePakReportResponse(ILeasePakReport report)
        {
            _report = report;

            Rows = _report?.GetDataRows()
                   .Select(r => new LeasePakReportRowResponse(r))
                   .ToList();
            Bytes = _report?.GetBytes();
        }