public IActionResult AddFavouritePlayer(string fullName, string name, int pid)
        {
            if (_favouriteRepository.HasBeenFavouritedAlready(pid))
            {
                TempData["alreadyFavouritedMessage"] = "You have already favourited this player!";
                return(RedirectToAction(nameof(ListFavourites)));
            }
            else
            {
                Favourite favourite = new Favourite
                {
                    FullName = fullName,
                    Name     = name,
                    Pid      = pid
                };

                _favouriteRepository.AddFavourite(favourite);
                return(RedirectToAction(nameof(ListFavourites)));
            }
        }