public ActionResult EditUser(string id) { UserEditVM data = new UserEditVM(); data.User = _repo.AdminGetUserByGuid(id); data.UserProfile = _repo.GetProfileById(data.User.ProfileId); data.Roles = _repo.AdminGetRoles(); return(View(data)); }