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