Ejemplo n.º 1
0
 public User CreateDojoWithId(Guid dojoId)
 {
     var newDojo = new Dojo(dojoId,this);
     DojosCreated.Add(newDojo);
     DomainEvents.Raise(new UserCreatedDojo(Id,dojoId));
     return this;
 }
 public StudentAlreadyRegisteredException(Dojo dojo, MartialArtist martialArtist)
 {
     Dojo = dojo;
     MartialArtist = martialArtist;
 }