Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 public ShopFacilitiesManager(IShopFacilitiesStore shopFacilitiesStore, IMapper mapper)
 {
     Store   = shopFacilitiesStore ?? throw new ArgumentNullException(nameof(shopFacilitiesStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }