예제 #1
0
        public JsonResult GetCompanyName(string rif)
        {
            var service = new SearchService.Service();
            var company = service.GetCompanyName(rif);

            return(this.Json(company, JsonRequestBehavior.AllowGet));
        }
예제 #2
0
        public JsonResult GetRifList(string cedula)
        {
            var service = new SearchService.Service();
            var list    = service.GetRifList(cedula);

            return(this.Json(list, JsonRequestBehavior.AllowGet));
        }