public AddImageToBillCommandHandler(
     IUnitOfWork unitOfWork,
     IBillImageRepository billImageRepository)
 {
     this.unitOfWork          = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     this.billImageRepository = billImageRepository ?? throw new ArgumentNullException(nameof(billImageRepository));
 }
Esempio n. 2
0
 public GetBillImageQueryHandler(
     IBillRepository billRepository,
     IBillImageRepository billImageRepository)
 {
     this.billRepository      = billRepository ?? throw new ArgumentNullException(nameof(billRepository));
     this.billImageRepository = billImageRepository ?? throw new ArgumentNullException(nameof(billImageRepository));
 }