public async Task <ActionResult> Login([FromBody] LoginClass login)
        {
            Player player = await _GAMEContext.Player.FirstOrDefaultAsync(m => m.Username == login.UserName.ToLower() && m.Password == login.Password);

            if (player == null)
            {
                return(NotFound(new JsonResult("No such user")
                {
                    StatusCode = 404
                }));
            }

            return(new JsonResult(player));
        }
        public async Task <ActionResult> AdminLogin([FromBody] LoginClass login)
        {
            await _GAMEContext.Player.ToListAsync();

            await _GAMEContext.PlayerRole.ToListAsync();

            Player player = _GAMEContext.Player.FirstOrDefault(m => m.Username == login.UserName.ToLower() && m.Password == login.Password && m.PlayerRoleId == (int)Role.Facilitator);

            if (player == null)
            {
                return(NotFound(new JsonResult("Facilitator Not Found")
                {
                    StatusCode = 404
                }));
            }

            return(new JsonResult(player));
        }