public Dog(Guid dogHouseId, bool isInDogHouse, DateTime depositAt, DogBreed race, string name, int age) { DogHouseId = DogHouseId; IsInDogHouse = isInDogHouse; DepositAt = depositAt; Race = race; Name = name; Age = age; }
public DogBuilder WithBreed(DogBreed race) { this.race = race; return(this); }