Esempio n. 1
0
        public LocationCreated When(CreateLocation command)
        {
            var locationCreated = new LocationCreated(command.Location, command.Description);

            this.Then(locationCreated);

            return(locationCreated);
        }
Esempio n. 2
0
 protected LocationCreated Then(LocationCreated stateChange)
 {
     this.location = stateChange.Location;
     return(stateChange);
 }