This commit is contained in:
jzuniga:1 2018-06-11 15:52:09 +00:00
parent 2a85cc58a6
commit f81b6659e7
5 changed files with 29 additions and 16 deletions

View file

@ -52,7 +52,7 @@ namespace AYA.SlnSinort.WCF
BaseJson respuesta = new BaseJson();
try
{
respuesta = new EmisorDAL().InsertarActualizarCliente(model);
respuesta = new EmisorDAL().InsertarActualizarEmisor(model);
}
catch (Exception ex)
{
@ -62,20 +62,20 @@ namespace AYA.SlnSinort.WCF
return respuesta;
}
public BaseJson ModificarEstadoEmisorPN(Emisor model)
{
BaseJson respuesta = new BaseJson();
try
{
respuesta = new EmisorDAL().ModificarEstadoEmisorPN(model);
//public BaseJson ModificarEstadoEmisorPN(Emisor model)
//{
// BaseJson respuesta = new BaseJson();
// try
// {
// respuesta = new EmisorDAL().ModificarEstadoEmisorPN(model);
}
catch (Exception ex)
{
throw;
}
return respuesta;
}
// }
// catch (Exception ex)
// {
// throw;
// }
// return respuesta;
//}
#endregion
}
}

View file

@ -12,7 +12,7 @@ namespace AYA.SlnSinort.ControllersWebApi.Matenimimento
public class EmisorAPIController : ApiController
{
#region Emisor
[HttpGet]
[HttpGet]
public List<Emisor> ObtenerEmisor()
{
List<Emisor> respuesta = null;

View file

@ -8,7 +8,7 @@ var Item = {};
jQuery(document).ready(function () {
//GetControlsSettings("Cathay_Ejecutivo", "Cathay_Ejecutivo", "formCatalogo", true);
getDataModel();

View file

@ -46,6 +46,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Encriptar.cs" />
<Compile Include="Extensiones.cs" />
<Compile Include="ObtieneParametros.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />

View file

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Atesa.Utilitarios
{
class Encriptar
{
}
}