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