Beispiel #1
0
        public async Task <IndexModel> Index()
        {
            var model = new IndexModel
            {
                Free      = await _freeTipsService.Index(),
                Monthly   = await _monthlySubscriptionService.Index(),
                VipTicket = await _vipTicketService.Index(),
                Comment   = await _commentService.Index(),
                Counter   = await _counterService.Counter(),
                Landing   = await _htmlService.HtmlByCode(Const.LA)
            };

            return(await Task.FromResult(model));
        }