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