Пример #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));
        }