示例#1
0
        public ApplicationEvent[] Handle(CreateNetwork command)
        {
            var id = _networkRepository.Create();

            return(new ApplicationEvent[] { new NetworkCreated(id) });
        }