//Important parameter id is BlazerId public ActionResult Edit(string id) { var vM = new UserFormViewModel { BlazerId = id, RoleId = _userRoleService.GetUserRoleId(id), Roles = _userRoleService.GetRoles() }; return(View("UserForm", vM)); }