You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Xml;
|
|
using ReportLibrary;
|
|
namespace PeisStart
|
|
{
|
|
|
|
public class ReportMethods
|
|
{
|
|
private readonly ReportClient _reportclient = new ReportClient();
|
|
public async Task<object> PrintPre(dynamic request)
|
|
{
|
|
string _json = (string)request.asMessage;
|
|
return await _reportclient.ReportPrintPre(_json);
|
|
}
|
|
|
|
public async Task<object> Print(dynamic request)
|
|
{
|
|
string _json = (string)request.asMessage;
|
|
return await _reportclient.ReportPrint(_json);
|
|
|
|
}
|
|
|
|
public async Task<object> ExportToPdf(dynamic request)
|
|
{
|
|
string _json = (string)request.asMessage;
|
|
return await _reportclient.ReportExport(_json);
|
|
}
|
|
|
|
public async Task<object> ReportDesign(dynamic request)
|
|
{
|
|
string _json = (string)request.asMessage;
|
|
return await _reportclient.ReportDesign(_json);
|
|
}
|
|
}
|
|
}
|