Пример #1
0
 public RoleController(IRoleService service, IApiMethodService apiMethodService, IHttpContextAccessor httpContext)
 {
     _service          = service;
     _apiMethodService = apiMethodService;
     _httpContext      = httpContext;
 }
Пример #2
0
 public WeatherForecastController(ILogger <WeatherForecastController> logger, IApiMethodService services, IApiDescriptionGroupCollectionProvider apiDescription)
 {
     _logger         = logger;
     _services       = services;
     _apiDescription = apiDescription;
 }