Exemple #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 object ConsultarPagosPlanLenguas(int Oferta)
 {
     return(BLLPagoPlan.ConsultarPagosPlanLenguas(Oferta));
 }