public static HourInfoList HourFetchInfoList(ITask[] task) { return HourService.HourFetchInfoList( new HourCriteria { TaskId = task.Select(row => row.TaskId).ToArray() }); }