public async Task <IActionResult> OnPostAsync() { await sportService.AddSportsToUserAsync((await userManager.FindByNameAsync(User.Identity.Name)).Id, SelectedIds); return(LocalRedirect(Url.Content("/Identity/Account/Manage/Sports"))); }
public async Task <IActionResult> OnPostAsync() { await sportService.AddSportsToUserAsync((await userManager.FindByNameAsync(User.Identity.Name)).Id, SelectedIds); return(LocalRedirect(Url.Content("/Identity/Account/Manage/Sports"))); }