Exemplo n.º 1
0
        public IHttpActionResult GetXCodigo(string codigo)
        {
            var obtenerAF = new obtAF();

            return(Json(obtenerAF.dataAF(Int32.Parse(codigo), 0)));
        }
Exemplo n.º 2
0
        public IHttpActionResult GetXCategoria(string codigo, string categoria)
        {
            var obtenerAF = new obtAF();

            return(Json(obtenerAF.dataAF(Int32.Parse(codigo), Int32.Parse(categoria))));
        }
Exemplo n.º 3
0
        public IHttpActionResult Get()
        {
            var obtenerAF = new obtAF();

            return(Json(obtenerAF.dataAF(0, 0)));
        }