public List <TaskModel> GetTasks(int list_id) { TaskModel task = new TaskModel(); List <TaskModel> list = task.GetAllListTasks(list_id); return(list); }