public void SaveSkills() { Skill.Effort = GetEffortByString(SelectedEffort); if (Skill.Id != 0) { DataBaseHelper.EditSkill(Skill); } else { DataBaseHelper.AddSkill(Skill); } Navigation.NavigateTo(new SkillPage()); }