示例#1
0
 public TipoPet Put(int id, [FromBody] TipoPet tp)
 {
     return(repo.Alterar(id, tp));
 }
示例#2
0
 public List <TipoPet> Put(int id, TipoPet t)
 {
     return(rep.Update(id, t));
 }
示例#3
0
 public TipoPet Post([FromBody] TipoPet tp)
 {
     return(repo.Cadastrar(tp));
 }
示例#4
0
 public List <TipoPet> Post(TipoPet t)
 {
     return(rep.Create(t));
 }