public virtual UserRoleStateMergePatchedDto NewUserRoleStateMergePatched(string roleId) { var e = new UserRoleStateMergePatchedDto(); var eId = NewUserRoleEventId(roleId); e.UserRoleEventId = eId; return(e); }
public virtual UserRoleStateMergePatchedDto ToUserRoleStateMergePatchedDto(IUserRoleStateMergePatched e) { var dto = new UserRoleStateMergePatchedDto(); dto.UserRoleEventId = e.UserRoleEventId; dto.CreatedAt = e.CreatedAt; dto.CreatedBy = e.CreatedBy; dto.Version = e.Version; dto.CommandId = e.CommandId; dto.Active = e.Active; dto.IsPropertyActiveRemoved = e.IsPropertyActiveRemoved; return(dto); }