예제 #1
0
 public void Delete(Pet item)
 {
     PetDAL.DeletePet(item.IdPet);
 }
예제 #2
0
 public IEnumerable <Pet> GetAllPets(int id)
 {
     return(PetDAL.GetPetsPessoa(id));
 }
예제 #3
0
 public void Update(Pet item)
 {
     PetDAL.UpdatePet(item);
 }
예제 #4
0
 public void Insert(Pet item)
 {
     PetDAL.InsertPet(item);
 }
예제 #5
0
 public Pet GetById(int id)
 {
     return(PetDAL.GetPet(id));
 }
예제 #6
0
 public IEnumerable <Pet> GetAll()
 {
     return(PetDAL.GetPets());
 }