git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C26
This commit is contained in:
parent
c57e0a0652
commit
0983af64c1
2 changed files with 4 additions and 4 deletions
|
|
@ -223,17 +223,17 @@ this.ActualizarItem = function () {
|
|||
|
||||
TableItems = $('#TableItems').DataTable();
|
||||
|
||||
Item = {
|
||||
Emisor = {
|
||||
IdEmisor: $('#hiddenId').val(),
|
||||
Descripcion: $('#txtDescripcion').val(),
|
||||
}
|
||||
|
||||
var uri = server + 'api/EmisorAPI/InsertarActualizarEmisor'
|
||||
var DTO = JSON.stringify(Item);
|
||||
var DTO = JSON.stringify(Emisor);
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: server + uri,
|
||||
url: uri,
|
||||
cache: false,
|
||||
data: DTO,
|
||||
contentType: 'application/json; charset=utf-8',
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ namespace AYA.SlnSinortModel.DAL.Sinort
|
|||
{
|
||||
using (SinortContex db = new SinortContex())
|
||||
{
|
||||
respuesta = db.Emisor.Where(t => t.Estado == true).ToList();
|
||||
respuesta = db.Emisor.ToList();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue