예제 #1
0
        public IActionResult Index()
        {
            var model = T_Holiday.FindAll().ToArray();

            return(View(model));
        }
예제 #2
0
            //QueryAll做全表查询,常用于csv下载
            public override IRecords QueryAll()
            {
                var records = T_Holiday.FindAll();

                return(new HolidayCsvList(records));
            }