Esempio n. 1
0
 public void Delete([FromQuery] ContatoQO contato)
 {
     try
     {
         ContatoService.DeleteComParametro(contato);
     }
     catch (Exception)
     {
         throw;
     }
 }
Esempio n. 2
0
 public IEnumerable <ContatoModel> Get([FromQuery] ContatoQO contato)
 {
     try
     {
         return(ContatoService.GetComParametro(contato));
     }
     catch (Exception)
     {
         throw;
     }
 }