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))); } }
public object Conceptos(string AlumnoId, string OfertaEducativa) => BLLPagoConcepto.ListaPagoConceptos(int.Parse(OfertaEducativa));