public void Edit2(int id) { if (!Flash.Contains("account")) { PropertyBag["account"] = ActiveRecordMediator <Account> .FindByPrimaryKey(id); } PropertyBag.Add("licenses", ProductLicense.FindAll()); PropertyBag.Add("permissions", AccountPermission.FindAll()); PropertyBag.Add("users", User.FindAll()); }