public static void RenameBreed(BreedData breed) { BreedRepository breedRep = new BreedRepository(); breedRep.Update(new Breed { Id = breed.Id, Name = breed.Name }); }
public bool Update() { return(_br.Update()); }
public static void RenameBreed(BreedData breed) { BreedRepository breedRep = new BreedRepository(); breedRep.Update(new Breed { Id = breed.Id, Name = breed.Name }); }
public bool Update() { return(_br.Update()); }