public async Task <ActionResult <decimal> > ConvertToFunctional(DateTime date, string currencyId, decimal amount, CancellationToken cancellation) { return(await ControllerUtilities.InvokeActionImpl(async() => { var result = await _service.ConvertToFunctional(date, currencyId, amount, cancellation); return Ok(result); }, _logger)); }
public async Task <ActionResult <decimal> > ConvertToFunctional(DateTime date, string currencyId, decimal amount, CancellationToken cancellation) { var result = await _service.ConvertToFunctional(date, currencyId, amount, cancellation); return(Ok(result)); }