예제 #1
0
 /// <summary>
 /// retrieves an instance of this class
 /// </summary>
 /// <returns>fakeDBInstance</returns>
 public static FakeDB GetInstance()
 {
     if (fakeDBInstance == null)
     {
         fakeDBInstance = new FakeDB();
         return(fakeDBInstance);
     }
     return(fakeDBInstance);
 }
예제 #2
0
 public Pet AddPet(Pet petToAdd)
 {
     return(FakeDB.AddPet(petToAdd));
 }
 public Owner AddOwner(Owner ownerToAdd)
 {
     return(FakeDB.AddOwner(ownerToAdd));
 }
예제 #4
0
 public PetType AddPetType(PetType petTypeToAdd)
 {
     return(FakeDB.AddPetTypes(petTypeToAdd));
 }