Class CurrencyController
- Namespace
- GastroSky.Controllers.V1
- Assembly
- GastroSky.dll
Currency related endpoints.
[ApiController]
[Authorize]
[Route("api/v1/currencies")]
[Produces("application/json", new string[] { })]
public class CurrencyController : GastroSkyControllerBase
- Inheritance
-
CurrencyController
- Inherited Members
Constructors
CurrencyController(IConfiguration)
Currency related endpoints.
public CurrencyController(IConfiguration configuration)
Parameters
configurationIConfiguration
Methods
GetSupportedCurrencies()
Gets the list of supported currencies as an array of currency ISO 4217 strings.
[HttpGet]
[Route("")]
[AllowAnonymous]
[ProducesResponseType(404)]
[ProducesResponseType<ResponseBodyDto<SupportedCurrenciesResponseDto>>(200)]
public IActionResult GetSupportedCurrencies()