Esempio n. 1
0
 public AttachmentService(TBIAppDbContext dbcontext,
                          IAttachmentDTOMapper attachmentDTOMapper)
 {
     this.dbcontext           = dbcontext ?? throw new ArgumentNullException(nameof(dbcontext));
     this.attachmentDTOMapper = attachmentDTOMapper ?? throw new ArgumentNullException(nameof(attachmentDTOMapper));
 }
Esempio n. 2
0
 public EmailDTOMapper(IAttachmentDTOMapper attachmentDTOMapper)
 {
     this.attachmentDTOMapper = attachmentDTOMapper ?? throw new ArgumentNullException(nameof(attachmentDTOMapper));
 }