public void Output(ChangeTitleTaskOutput output) { var res = new TableTaskModel( output.TableTask.Id.ToGuid(), output.TableTask.Text.ToString(), (int)output.TableTask.State); ViewModel = new OkObjectResult(res); }
private void BuildOutput(ITableTask task) { var res = new ChangeTitleTaskOutput(task); outputPort.Output(res); }