Example #1
0
        public virtual InOutImageStateRemovedDto NewInOutImageStateRemoved(string sequenceId)
        {
            var e   = new InOutImageStateRemovedDto();
            var eId = NewInOutImageEventId(sequenceId);

            e.InOutImageEventId = eId;
            return(e);
        }
        public virtual InOutImageStateRemovedDto ToInOutImageStateRemovedDto(IInOutImageStateRemoved e)
        {
            var dto = new InOutImageStateRemovedDto();

            dto.InOutImageEventId = e.InOutImageEventId;
            dto.CreatedAt         = e.CreatedAt;
            dto.CreatedBy         = e.CreatedBy;
            dto.Version           = e.Version;
            dto.CommandId         = e.CommandId;

            return(dto);
        }