コード例 #1
0
        public object ShowResult(ResultParam obj)
        {
            ResultBusiness ObjTerm = new ResultBusiness();

            var GetResult = ObjTerm.ResultShow(obj);

            return(GetResult);
        }
コード例 #2
0
        public SearchViewModel()
        {
            Search     = new Search();
            Search.CPF = "39164301818";

            SearchClickedCommand = new Command(() =>
            {
                var jsonResult    = new ResultBusiness().doSearchByCPF(Search.CPF);
                var result        = new Result();
                result.JsonResult = jsonResult;
                new ResultBusiness().SaveActualResult(result);

                App.LoadGlobalVariables();

                MessagingCenter.Send <SearchViewModel>(this, "RealizaPesquisa");
            });
        }