Esempio n. 1
0
        public void Update(PutPublisherViewModel publisherView)
        {
            Publisher publisher = Mapper.Map <PutPublisherViewModel, Publisher>(publisherView);

            _publisherRepository.Update(publisher);
        }
Esempio n. 2
0
 public IActionResult Put(int id, [FromBody] PutPublisherViewModel publisher)
 {
     _publisherService.Update(publisher);
     return(Ok());
 }