Esempio n. 1
0
 public void EditConsumer([FromBody] ConsumerDto consumer)
 {
     EnsureAdmin();
     _consumerService.SaveOrUpdate(consumer.ToDomain());
 }