Exemplo n.º 1
0
        public async Task <JsonResult> SearchTipago(int TipCodigo)
        {
            using (var service = GetService <ASIK_PGWEB_Service>())
            {
                TipPago TipPag = await service.SearchTipago(TipCodigo);

                return(Json(TipPag));
            }
        }
Exemplo n.º 2
0
        public async Task <JsonResult> AddOrUpdateTipag(TipPago tipPago, string save)
        {
            using (var service = GetService <ASIK_PGWEB_Service>())
            {
                var Result = await service.AddOrUpdateTipag(tipPago, save);

                if (Result.errorMetodo == null)
                {
                    return(Json(new { Status = true, Message = Result.successMetodo }));
                }
                return(Json(new { Status = false, Message = Result.errorMetodo }));
            }
        }