public Club(Guid guid, IClubCommandFactory factory) { Ensure.ArgumentNotNull(factory); Ensure.NotEmpty(guid); this.Guid = guid; this.factory = factory; }
public Club(IClubCommandFactory factory) { Ensure.ArgumentNotNull(factory); this.Guid = Guid.NewGuid(); this.factory = factory; }