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)); }
public ShopLeaseInfoManager(IShopLeaseInfoStore shopLeaseInfoStore, IMapper mapper) { Store = shopLeaseInfoStore ?? throw new ArgumentNullException(nameof(shopLeaseInfoStore)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }