Example #1
0
 public static EventEntity MakeEventEntity(RevokePermissionsCmd cmd)
 {
     return(new EventEntity {
         UserId = cmd.UserId,
         Body = new PermissionsRevokedEvt(cmd)
     });
 }
Example #2
0
 public PermissionsRevokedEvt(RevokePermissionsCmd cmd)
 {
     CompanyId = cmd.CompanyId;
     UserId    = cmd.User2Id;
 }