public IActionResult SyncFramework([FromQuery] bool configAwait = false) { _dotNetFrameworkService.ExecuteNothingAsync(configAwait).GetAwaiter().GetResult(); string message = $"FullFramework-Synchronous-ConfigureAwait={configAwait}"; var result = RestResult <object> .Empty(message); return(Ok(result)); }
public IActionResult SyncStandard([FromQuery] bool configAwait = false) { _netStandardService.ExecuteNothingAsync(configAwait).GetAwaiter().GetResult(); string message = $"NetStandard-Synchronous-ConfigureAwait={configAwait}"; var result = RestResult <object> .Empty(message); return(Ok(result)); }