public IActionResult FinalizeEvent()
        {
            List <MessagesModel> messages = messageDAL.GetMessagesForAdmin();
            Team team = new Team();

            foreach (MessagesModel message in messages)
            {
                team = teamDAL.GetTeamByUserID(message.SentByID);
                message.SentByName = team.Name;
                team = teamDAL.GetTeamByUserID(message.SentToID);
                message.SentToName = team.Name;
                messageDAL.AddGamePlayed(message);
            }
            return(View(messages));
        }