Beispiel #1
0
        public async Task <AttestationDto> Update(AttestationUpdateDto entity)
        {
            var entityModel = entity.Adapt <Attestation>();

            var changedEntity = await this.attestationRepository.Update(entityModel);

            await this.AddRelatedEntities(changedEntity, addExamInfos : true);

            return(this.AddScoreStatistics(changedEntity.Adapt <AttestationDto>()));
        }
Beispiel #2
0
 public async Task <AttestationDto> Update(AttestationUpdateDto attestation)
 {
     return(await this.attestationService.Update(attestation));
 }