Table of Contents

Class ServiceConfigController

Namespace
adas_core.Controllers
Assembly
adas-core.dll
[Route("service-configs")]
[ApiController]
public class ServiceConfigController : ControllerBase
Inheritance
ServiceConfigController
Inherited Members
Extension Methods

Constructors

ServiceConfigController(IServiceConfigService)

public ServiceConfigController(IServiceConfigService serviceConfigService)

Parameters

serviceConfigService IServiceConfigService

Methods

Find(string)

Retrieves a service configuration by its identifier. Access is restricted to users with the AuthAdmin role.

[HttpGet("{id}")]
[AuthorizeRoles(PermissionEnum.RolesType.AuthAdmin)]
public Task<IActionResult> Find(string id)

Parameters

id string

The unique identifier of the service configuration to retrieve.

Returns

Task<IActionResult>

An IActionResult containing the requested service configuration.