コード例 #1
0
        public async Task <StatementDataRefDto> Create(CreateStatementDataRefInput input)
        {
            var entity = await _statementManager.InsertAsync(input.MapTo <StatementDataRef>());

            entity.ProcedureStepTaskItem = await _repositoryPt.GetAsync(entity.ProcedureStepTaskItemId);

            entity.ProcedureStepTaskItem.TaskItem = await _taskItemManager.GetAsync(entity.ProcedureStepTaskItem.TaskItemId);

            return(entity.MapTo <StatementDataRefDto>());
        }