示例#1
0
        public async Task <IActionResult> OnGetAsiento(int idB)
        {
            try
            {
                var resp = await sap.InsertarAsiento(idB);


                return(new JsonResult(resp));
            }
            catch (Exception ex)
            {
                return(new JsonResult(ex.Message));
            }
        }