public async Task <IActionResult> OnPostAsync() { foreach (var skill in SkillList.Split(',')) { await understandMySelfRepository.SaveSkillAsync(new Skill { Description = skill }); } foreach (var ability in AbilityList.Split(',')) { await understandMySelfRepository.SaveAbilityAsync(new Ability { Description = ability }); } foreach (var task in TaskList.Split(',')) { await understandMySelfRepository.SaveTaskItemAsync(new TaskItem { Description = task }); } return(RedirectToPage("/manageframeworkItems")); }