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)); }
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)); }