public static void CreatePet(PetInputViewModel petInputViewModel) { var pet = new Pet { Name = petInputViewModel.Name }; TransactionManager.CreateEntity(pet); }
public static void CreatePet(PetInputViewModel petInputViewModel) { PetRepository.CreatePet(petInputViewModel); }