public async Task <IActionResult> OnPost() { await settlementService.AddSettlementsToUserAsync((await userManager.FindByNameAsync(User.Identity.Name)).Id, SelectedIds); return(LocalRedirect(Url.Content("~/"))); }