public void FindReportAttachments()
        {
            _reportDerived.Attachments.Add(_reportAttachment);
            var result = _attachmentQueryService.FindReportAttachments(_reportAttachment.Id);

            result.Should().BeOfType(typeof(List <Attachment>));
            result.Should().NotBeNull();
            result.Select(item => item.FileName).FirstOrDefault().ShouldAllBeEquivalentTo(FileName);
        }
Esempio n. 2
0
 public List <Attachment> FindReportAttachments(Guid id)
 {
     return(_attachmentQueryService.FindReportAttachments(id));
 }