Esempio n. 1
0
        public ActionResult Index()
        {
            BusinessCache businesscache = RemotingHelp.GetModelObject <BusinessCache>();

            ViewBag.Business = businesscache.GetBusiness().obj;
            return(View());
        }
Esempio n. 2
0
        public ResultModel GetBusiness()
        {
            BusinessCache bcache = RemotingHelp.GetModelObject <BusinessCache>();

            return(bcache.GetBusiness());
        }