public JsonResult GuardarFecha(string fecha, string id)
        {
            DateTime fechaelegida = DateTime.ParseExact(fecha, "dd/MM/yyyy", null);

            if (fechaelegida.Date < DateTime.Now.Date)
            {
                return(Json("La fecha debe ser mayor o igual a la actual."));
            }

            InscripcionRepository.updatePagares(id, fecha);

            return(Json("OK"));
        }