Пример #1
0
        public IActionResult Post()
        {
            var requestParams = StiNetCoreDesigner.GetRequestParams(this);

            switch (requestParams.Action)
            {
            case StiAction.GetReport:
                return(GetReportResult());

            case StiAction.PreviewReport:
                return(GetReportPreviewResult());

            default:
                return(StiNetCoreDesigner.ProcessRequestResult(this));
            }
        }
Пример #2
0
 public IActionResult Get()
 {
     return(StiNetCoreDesigner.ProcessRequestResult(this));
 }