public async Task <IHttpActionResult> Create([FromBody] SubmissionRequest request) { var ticket = request.Ticket; await _gamerRepository.CreateGamerAsync(ticket); return(Ok()); }
public async Task <IHttpActionResult> SubmitAgniKaiTicket([FromBody] SubmissionRequest request) { var token = request.Token; var ticket = request.Ticket; await ValidateToken(token); var result = await _database.SubmitTicketAsync(token, ticket); return(Ok(result)); }