// GET: /<controller>/ public IActionResult Index() { var model = new EvaluationSettingViewModel { Behavioral = _Services.GetBehavioralPercentage(), KRA = _Services.GetKRAPercentage() }; return(View(model)); }
public IActionResult Save(EvaluationSettingViewModel model) { _Services.Save(model.Behavioral, model.KRA); return(RedirectToAction("Index")); }