Пример #1
0
        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));
 }
Пример #3
0
 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));
 }