コード例 #1
0
        public ActionResult Index()
        {
            BusinessCache businesscache = RemotingHelp.GetModelObject <BusinessCache>();

            ViewBag.Business = businesscache.GetBusiness().obj;
            return(View());
        }
コード例 #2
0
        public ResultModel GetBusiness()
        {
            BusinessCache bcache = RemotingHelp.GetModelObject <BusinessCache>();

            return(bcache.GetBusiness());
        }