示例#1
0
        public IHttpActionResult SistemaPagoAlumno(int AlumnoId)
        {
            var Result = BLLPagoPlan.ConsultarPagos(AlumnoId);

            if (Result.ToString().Contains("System.Collections.Generic.List"))
            {
                return(Ok(Result));
            }
            else
            {
                return(BadRequest("Fallo al momento de trer datos, " + Result.GetType().GetProperty("Message").GetValue(Result, null)));
            }
        }
示例#2
0
 public List <DTOPagoPlan> ConsultarPagosPlan2(string AlumnoId, string OfertaEducativaId)
 {
     return(BLLPagoPlan.ConsultarPagos(int.Parse(AlumnoId), int.Parse(OfertaEducativaId)));
 }
示例#3
0
 public object ConsultarPagosPlan(string AlumnoId)
 {
     return(BLLPagoPlan.ConsultarPagos(int.Parse(AlumnoId)));
 }