/// <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; }
/// <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; }
public ProductController(IProductApi productApi, IBrandApi brandApi, ISurveyApi surveyApi) { _productApi = productApi; _brandApi = brandApi; _surveyApi = surveyApi; }
public BrandController(IBrandApi brandApi) { _brandApi = brandApi; }
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."); }
public BrandView(IBrandApi brandApi) { _brandApi = brandApi; }