Exemple #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="cache"></param>
        /// <param name="brandApi"></param>
        /// <param name="localizer"></param>
        public BrandController(IDistributedCache cache,
                               IBrandApi brandApi,
                               IStringLocalizer <BrandController> localizer)
        {
            this._cache = cache;

            this._brandApi = brandApi;

            this._localizer = localizer;
        }
Exemple #2
0
        /// <summary>
        /// This is the constructor. It is used to
        /// </summary>
        public ProductsController(IDistributedCache cache,
                                  IProductApi productMaintenanceApi,
                                  IDownloadTimesApi downloadTimesApi,
                                  IProductTypesApi productTypesApi,
                                  IManufacturersApi manufacturersApi,
                                  IInstallTypesApi installTypesApi,
                                  IMobileLookupApi mobileLookupApi,
                                  IBrandApi brandApi,
                                  IStringLocalizer <ProductsController> localizer)
        {
            this._cache = cache;

            this._productMaintenanceApi = productMaintenanceApi;

            this._downloadTimesApi = downloadTimesApi;
            this._productTypesApi  = productTypesApi;
            this._manufacturersApi = manufacturersApi;
            this._installTypesApi  = installTypesApi;
            this._mobileLookupApi  = mobileLookupApi;
            this._brandApi         = brandApi;

            this._localizer = localizer;
        }
Exemple #3
0
 public ProductController(IProductApi productApi, IBrandApi brandApi, ISurveyApi surveyApi)
 {
     _productApi = productApi;
     _brandApi   = brandApi;
     _surveyApi  = surveyApi;
 }
 public BrandController(IBrandApi brandApi)
 {
     _brandApi = brandApi;
 }
Exemple #5
0
 public HttpTransferBrand(IBrandApi brandApi, ILoggerFactory logger)
 {
     this._brandApi = brandApi;
     this._logger   = logger.CreateLogger("HttpTransferBrand");
     _logger.LogInformation($"{DateTime.Now.ToString("dd/MM/yyyy HH:mm:ss")} - HttpTransferBrand em execução.");
 }
Exemple #6
0
 public BrandView(IBrandApi brandApi)
 {
     _brandApi = brandApi;
 }