/// <summary> /// 读取数据库中全部的任务 /// </summary> /// <returns></returns> public List <TaskModel> GetAllTaskList() { return(dal.GetAllTaskList()); }