Exemplo n.º 1
0
        public async Task ChangeMethodicDocumentAsync(MethodicDocumentDTO documentDto)
        {
            MethodicDocument document = await _repoWrapper.MethodicDocument.GetFirstAsync(x => x.ID == documentDto.ID);

            document.Name        = documentDto.Name;
            document.Description = documentDto.Description;
            _repoWrapper.MethodicDocument.Update(document);
            await _repoWrapper.SaveAsync();
        }
 public MethodicDocumentPdf(MethodicDocument methodicDocument, IPdfSettings settings) : base(settings)
 {
     _methodicDocument = methodicDocument;
 }