public LotService( IUnitOfWork unitOfWork, IHtmlParserProvider htmlParserProvider, ILotModelFactory lotModelFactory, IFilterModelFactory filterModelFactory) : base(unitOfWork) { this.htmlParserProvider = htmlParserProvider ?? throw new ArgumentNullException(nameof(htmlParserProvider));; this.lotModelFactory = lotModelFactory ?? throw new ArgumentNullException(nameof(lotModelFactory));; this.filterModelFactory = filterModelFactory ?? throw new ArgumentNullException(nameof(filterModelFactory));; }
public HtmlParserProvider(ILotModelFactory lotModelFactory) { lotFactory = lotModelFactory; }