public async Task <string> Update(string id, modelo.TbCategoria entity) { await _repository.Update(id, entity); return(""); }
public Task <string> Put(string id, [FromBody] data.TbCategoria categoria) { return(new BS.TbCategoria().Updated(id, categoria)); }
public async Task Create(modelo.TbCategoria entity) { await _repository.Create(entity); }
public Task <string> Post([FromBody] data.TbCategoria categoria) { return(new BS.TbCategoria().Insert(categoria)); }