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