public ActionResult AddEditAddSkills(int Id) { AddSkillsViewModel model = new AddSkillsViewModel(); model.Id = Id; if (Id > 0) { var SystemListValue = _otherSettingMethod.getSystemListValueById(Id); model.Value = SystemListValue.Value; model.Archived = (bool)SystemListValue.Archived; model.Description = SystemListValue.Description; model.SystemListID = SystemListValue.SystemListID; } return(PartialView("_partialAddAddSkills", model)); }
public AddSkillsView() { InitializeComponent(); BindingContext = new AddSkillsViewModel(Navigation); }