コード例 #1
0
        public async Task AddAttributeToChecklist()
        {
            AssesmentModuleId moduleId = await NewModule();

            AssesmentChecklistId checklistId = await NewChecklist(moduleId);

            AssesmentChecklistId id = await Sut.AddChecklistAttributesAsync(moduleId, checklistId, new List <AssesmentAttributeId>() {
                await Sut.AddAttributeAsync(moduleId, new Name("Check list 1"), new Code("CHK1"), CancellationToken.None)
            }, CancellationToken.None);
        }