public CategoriesController(ICategoriesStore categoriesStore, IImageHostingService imageHostingService, NetBazaarDatabase netBazaarDatabase) { _categoriesStore = categoriesStore; _imageHostingService = imageHostingService; _netBazaarDatabase = netBazaarDatabase; }
public PostingsController(IPostingsStore postingsStore, ICategoriesStore categoriesStore, IImageHostingService imageHostingService, NetBazaarDatabase netBazaarDatabase, IMongoDatabase netBazaarMongoDb) { _postingsStore = postingsStore; _categoriesStore = categoriesStore; _imageHostingService = imageHostingService; _netBazaarDatabase = netBazaarDatabase; _netBazaarMongoDb = netBazaarMongoDb; }
public AzureImageHostingService(IImageReferencesStore imageReferencesStore, ICategoriesStore categoriesStore, IGeneralSettingsCache generalSettingsCache) { var storageAccount = CloudStorageAccount.Parse( ConfigurationManager.AppSettings["StorageConnectionString"]); _cloudBlobClient = storageAccount.CreateCloudBlobClient(); _imageReferencesStore = imageReferencesStore; _categoriesStore = categoriesStore; _generalSettingsCache = generalSettingsCache; }
public CategoriesController(ICategoriesStore categoriesStore) { _categoriesStore = categoriesStore; }