Example #1
0
        public async Task <string> Update(string id, modelo.TbFactura entity)
        {
            await _repository.Update(id, entity);

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