示例#1
0
        // the main index page with the list of tasks
        public ActionResult Index()
        {
            List <TaskModel> taskList = context.Collection().ToList();

            return(View(taskList));
        }