Exemple #1
0
        public IActionResult EndSession([FromBody] SessionDTO sessionInfo)
        {
            try
            {
                _provider.EndSession(sessionInfo.SessionId, sessionInfo.PlayerVersionId, sessionInfo.Captcha, sessionInfo.PurchasedNum);

                return(Ok());
            }
            catch (Exception ex)
            {
                return(Problem("Something is broke, yo"));
            }
        }