public ActionResult Index() { BusinessCache businesscache = RemotingHelp.GetModelObject <BusinessCache>(); ViewBag.Business = businesscache.GetBusiness().obj; return(View()); }
public ResultModel GetBusiness() { BusinessCache bcache = RemotingHelp.GetModelObject <BusinessCache>(); return(bcache.GetBusiness()); }