public IActionResult Edit(int id) { var result = _INotes.getNote(id); return(View(new NotesViewModel { dbModel = result, ddlUsers = _ICommon.GetPairModelWithDefault("Users"), })); }