public async Task <IActionResult> DeleteConfirmed(int id)
        {
            var groupMember = await _groupMember.GetGroupMemberById(id);

            await _groupMember.DeleteGroupMember(id);

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