Beispiel #1
0
        public IHttpActionResult PlanPago(int TipoOfertaId)
        {
            var Result = BLLPagoPlan.ConsultarPagosPlanLenguas(TipoOfertaId);

            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)));
            }
        }
 public List <DTOPagoPlan> ConsultarPagosPlan2(string AlumnoId, string OfertaEducativaId)
 {
     return(BLLPagoPlan.ConsultarPagos(int.Parse(AlumnoId), int.Parse(OfertaEducativaId)));
 }
 public object ConsultarPagosPlanLenguas(int Oferta)
 {
     return(BLLPagoPlan.ConsultarPagosPlanLenguas(Oferta));
 }
 public object ConsultarPagosPlan(string AlumnoId)
 {
     return(BLLPagoPlan.ConsultarPagos(int.Parse(AlumnoId)));
 }