Пример #1
0
        public IHttpActionResult Conceptos(int OfertaEducativaId)
        {
            var Result = BLLPagoConcepto.ListaPagoConceptos(OfertaEducativaId);

            if (Result.ToString().Contains("System.Collections.Generic.List"))
            {
                return(Ok(Result));
            }
            else
            {
                return(BadRequest("Fallo al momento de consultar, " + Result.GetType().GetProperty("Message").GetValue(Result, null)));
            }
        }
Пример #2
0
 public object Conceptos(string AlumnoId, string OfertaEducativa)
 => BLLPagoConcepto.ListaPagoConceptos(int.Parse(OfertaEducativa));