public void When(AddPermissionToSecurityItem c) { Update(c, ar => ar.AddPermissionToSecurityItem(c.UserId, c.Permission)); }