Example #1
0
        public async Task <DocumentTypeDto> UpdateAsync(long id, DocumentTypeUpdateDto input)
        {
            var documentType = await DocumentTypeRepository.GetByIdAsync(id);

            documentType.Name = input.Name;

            return(ObjectMapper.Map <DocumentType, DocumentTypeDto>(documentType));
        }
 public Task <DocumentTypeDto> UpdateAsync(long id, DocumentTypeUpdateDto input)
 {
     throw new NotImplementedException();
 }