Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.WriteLine(Directory.GetCurrentDirectory().ToString());
            Work _work = new Work();

            _work.Start();
            List <MovieInfo> lstMovie = HotMovieInfo.GetAllMovieInfo();

            foreach (var item in lstMovie)
            {
                Console.WriteLine(item.MovieName.ToString());
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// 首页
        /// </summary>
        /// <param name="isRefresh"></param>
        /// <returns></returns>
        public IActionResult Index()
        {
            List <MovieInfo> lstMovie = HotMovieInfo.GetAllMovieInfo();

            return(View(lstMovie));
        }