Exemple #1
0
 public JSONDataLoadServiceAsync(IComponentsServiceAsync service, ILogger <JSONDataLoadServiceAsync> logger)
 {
     _components = service;
     _logger     = logger;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="componentService">Components service</param>
 /// <param name="localizer">Localizer</param>
 /// <param name="logger">Logger</param>
 public ComponentsController(IComponentsServiceAsync componentService, IStringLocalizer <ComponentsController> localizer, ILogger <ComponentsController> logger)
 {
     _componentService = componentService;
     _localizer        = localizer;
     _logger           = logger;
 }