Exemplo n.º 1
0
        public async Task <ActionResult <DiscordConnection> > Confirm(string clientId, string code)
        {
            var connection = await discordLogic.ConfirmAsync(clientId, code);

            if (connection == null)
            {
                return(BadRequest());
            }

            return(connection);
        }
Exemplo n.º 2
0
 public async Task <ActionResult <DiscordConnection> > Confirm(string clientId, string code)
 {
     return(await discordLogic.ConfirmAsync(clientId, code));
 }