示例#1
0
        protected override async Task <RangeVisitEntity> OnFindInDbAsync(int identity)
        {
            var tructks = await RankService.RangeVisitEntityAsync(0, identity);

            var size = await RankService.SizeVisitAsync();

            return(new RangeVisitEntity
            {
                CreateTime = DateTime.Now,
                Size = size,
                EntityTrucks = tructks,
                HitCount = 0
            });
        }