public async Task <IActionResult> OnUnsubscribeM5([FromBody] OnUnsubscribeM5Payload request) { var result = await UnsubscribeM5(request); if (result != null && result is OkOnUnsubscribeM5Result authResult) { return(Ok(new { Result = "ok", Modifiers = new { authResult.Topics } })); } return(result.GeneratePublicResult()); }
protected virtual async Task <HookResult> UnsubscribeM5(OnUnsubscribeM5Payload onUnsubscribeM5Payload) { return(new OkResult()); }