public async Task <IViewComponentResult> InvokeAsync(SystemFlowDto model) { model.UserId = HttpContext.User.ToUserIdentity().UserId.ToString(); var process = await workFlowInstanceService.GetProcessForSystemAsync(model); process.FormContent = model.PageId; return(View(process)); }
public async Task <WorkFlowProcess> GetProcessForSystemAsync([FromQuery] SystemFlowDto model) { return(await _workFlowInstanceService.GetProcessForSystemAsync(model)); }