public object ShowResult(ResultParam obj) { ResultBusiness ObjTerm = new ResultBusiness(); var GetResult = ObjTerm.ResultShow(obj); return(GetResult); }
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"); }); }