예제 #1
0
 public void CreatePublisingHouse(string model)
 {
     _publishingHouseRepository.Create(new PublishingHouse()
     {
         PublishingHouseName = model
     });
 }
        public void AddPublishingHouse(PublishingHouseViewModel pvm)
        {
            PublishingHouse publishingHouse = new PublishingHouse
            {
                Name = pvm.Name,
            };

            _publishingHouseRepository.Create(publishingHouse);
        }