Пример #1
0
        public static void CreatePet(PetInputViewModel petInputViewModel)
        {
            var pet = new Pet {
                Name = petInputViewModel.Name
            };

            TransactionManager.CreateEntity(pet);
        }
Пример #2
0
 public static void CreatePet(PetInputViewModel petInputViewModel)
 {
     PetRepository.CreatePet(petInputViewModel);
 }