Esempio n. 1
0
        public async Task <string> Update(string id, modelo.TbArticulo entity)
        {
            await _repository.Update(id, entity);

            return("");
        }
 public Task <string> Put(string id, [FromBody] data.TbArticulo articulo)
 {
     return(new BS.TbArticulo().Updated(id, articulo));
 }
Esempio n. 3
0
 public async Task Create(modelo.TbArticulo entity)
 {
     await _repository.Create(entity);
 }
 public Task <string> Post([FromBody] data.TbArticulo articulo)
 {
     return(new BS.TbArticulo().Insert(articulo));
 }