示例#1
0
        public IActionResult Index()
        {
            var mc = mainCoins.GetCoin();

            if (!mc.IsCoinDistribution)
            {
                return(View("~/Views/Shared/FeatureDisabled.cshtml"));
            }
            var richList = mainCoins.GetRichList();

            return(View(new RichListViewModel()
            {
                RichList = richList,
                MainCoinModel = mc
            }));
        }