public async Task <IActionResult> Put([FromBody] Album album) { _beBlue.Entry(album).State = EntityState.Modified; await _beBlue.SaveChangesAsync(); return(new ObjectResult("Álbum alterado com sucesso!")); }
public async Task <IActionResult> Put([FromBody] ItensVenda itemVenda) { _beBlue.Entry(itemVenda).State = EntityState.Modified; await _beBlue.SaveChangesAsync(); return(new ObjectResult("Item alterado com sucesso!")); }