public async Task <IActionResult> Create([Bind("SportId,SportName")] Sport sport)
        {
            if (sportRepository.DoesSportExist(sport.SportName))
            {
                ModelState.AddModelError("SportName", "Sport already exists. Please enter another sport.");
            }

            if (ModelState.IsValid)
            {
                sport = await sportRepository.AddAsync(sport);

                await auditLogger.log(GetUserId(), $"Created Sport {sport.SportName}");

                return(RedirectToAction(nameof(Index)));
            }
            return(View(sport));
        }