Ejemplo n.º 1
0
        public async Task <string> InitiateAgniKaiAsync()
        {
            var ticket = await _keyGenerator.GenerateKey();

            await _vault.AddAgniKaiTicket(ticket);

            await _database.AddAgniKaiAsync(new AgniKai { Ticket = ticket });

            return(ticket);
        }