public void Update(PublicHouseViewToUpdate publicHouseView) { var publicHouse = Mapper.Map <PublicHouseViewToUpdate, PublicHouse>(publicHouseView); _publicHouseRepository.Update(publicHouse); }
public void Update(BrochureViewToUpdate brochureView) { var brochure = Mapper.Map <BrochureViewToUpdate, Brochure>(brochureView); _brochureRepository.Update(brochure); }
public void Update(BookViewToUpdate book) { var bookUpdate = Mapper.Map <BookViewToUpdate, Book>(book); _bookRepository.Update(bookUpdate); }
public void Update(MagazineViewToUpdate magazineView) { var magazine = Mapper.Map <MagazineViewToUpdate, Magazine>(magazineView); _magazineRepository.Update(magazine); }