public async Task CreateAttachmentAsync(AttachmentDto attachmentDto) { var attachment = _mapper.Map <Attachment>(attachmentDto); await _uploadService.CreateAttachment(attachment); await _transactionManager.SaveAllAsync(); }