public async Task <IActionResult> UpdateTeamNameAsync(string newTeamName, Guid rosterId)
        {
            try
            {
                var result = await _rosterService.UpdateTeamNameAsync(newTeamName, rosterId);

                if (result)
                {
                    return(RedirectToAction("ViewRosterAsync", new { rosterId }));
                }
            }
            catch (Exception e)
            {
                _logger.LogError(e, "Error updating Team Name");
            }

            StatusMessage = "Error updating Team Name";
            return(RedirectToAction("ViewRosterAsync", new { rosterId }));
        }