public IActionResult Get() { // Setting the required options on the server side var requestParams = StiAngularDesigner.GetRequestParams(this); if (requestParams.Action == StiAction.Undefined) { var options = new StiAngularDesignerOptions(); return(StiAngularDesigner.DesignerDataResult(requestParams, options)); } return(StiAngularDesigner.ProcessRequestResult(this)); }
public IActionResult Post() { var requestParams = StiAngularDesigner.GetRequestParams(this); if (requestParams.ComponentType == StiComponentType.Designer) { switch (requestParams.Action) { case StiAction.GetReport: return(GetReport()); case StiAction.SaveReport: return(SaveReport()); } } return(StiAngularDesigner.ProcessRequestResult(this)); }