Ejemplo n.º 1
0
        public void Create(PublicHouseView publicHousesView)
        {
            var publicHouses = Mapper.Map <PublicHouseView, PublicHouse>(publicHousesView);

            _publicHouseRepository.Create(publicHouses);
        }
Ejemplo n.º 2
0
        public void Create(BrochureView brochureView)
        {
            var brochure = Mapper.Map <BrochureView, Brochure>(brochureView);

            _brochureRepository.Create(brochure);
        }
Ejemplo n.º 3
0
        public void Create(BookView book)
        {
            var bookUpdate = Mapper.Map <BookView, Book>(book);

            _bookRepository.Create(bookUpdate);
        }
Ejemplo n.º 4
0
        public void Create(MagazineView magazineView)
        {
            var magazine = Mapper.Map <MagazineView, Magazine>(magazineView);

            _magazineRepository.Create(magazine);
        }