Exemple #1
0
        public ActionResult TditItem(int Count = 0)
        {
            var models = new List <AgentResultDetail>();

            if (Count > 0)
            {
                models = rewardService.GetComputationDetail(Count).Select(x => new AgentResultDetail {
                    Amount = x.Amount, Band = x.Band, Count = x.Count, DateRange = x.DateRange, Price = x.Price, TotalCount = x.TotalCount
                }).ToList <AgentResultDetail>();
                MySessions.CurrentAgentResultDetail = models;
            }


            return(View(models));
        }