Ejemplo n.º 1
0
 // PUT: api/Cargos/5
 public IEnumerable <IModel> Put(Cargo cargo)
 {
     if (repo.Update(cargo))
     {
         return(repo.GetAll());
     }
     return(null);
 }