public ShopsFavoriteManager( IShopsFavoriteStore ishopsFavoritesStore, IShopsStore iShopsStore, IMapper mapper) { _ishopsFavoritesStore = ishopsFavoritesStore ?? throw new ArgumentNullException(nameof(ishopsFavoritesStore)); _iShopsStore = iShopsStore ?? throw new ArgumentNullException(nameof(iShopsStore)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public ShopsManager( IShopsStore shopsStore, IShopFacilitiesStore shopFacilitiesStore, IShopsFavoriteStore shopsFavoriteStore, IShopBaseInfoStore shopBaseInfoStore, IShopLeaseInfoStore shopLeaseInfoStore, IFileInfoStore fileInfoStore, IShopsFileScopeStore shopFileScopeStore, IMapper mapper ) { _shopsStore = shopsStore ?? throw new ArgumentNullException(nameof(shopsStore)); _shopFacilitiesStore = shopFacilitiesStore ?? throw new ArgumentNullException(nameof(shopFacilitiesStore)); _ishopsFavoriteStore = shopsFavoriteStore ?? throw new ArgumentNullException(nameof(shopsFavoriteStore)); _shopBaseInfoStore = shopBaseInfoStore ?? throw new ArgumentNullException(nameof(shopBaseInfoStore)); _shopLeaseInfoStore = shopLeaseInfoStore ?? throw new ArgumentNullException(nameof(shopLeaseInfoStore)); _fileInfoStore = fileInfoStore; _shopFileScopeStore = shopFileScopeStore; _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }