public async Task <IActionResult> Post(EquipmentInspectionDto model) { var requestParams = StiNetCoreViewer.GetRequestParams(this); switch (requestParams.Action) { case StiAction.GetReport: return(await GetReportResult(model)); default: return(await StiNetCoreViewer.ProcessRequestResultAsync(this)); } }