// if we tell the controller we are testing, use the mock interface
 public PetDogsController(IPetDogsRepository db)
 {
     this.db = db;
 }
 // if no mock specified, use db
 public PetDogsController()
 {
     this.db = new EFPetDogsRepository();
 }