コード例 #1
0
 public IDataResult <List <Task> > GetDoingList(int projectId)
 {
     return(new SuccessDataResult <List <Task> >(_taskDal.GetListWithOneIncludes(task => task.TaskState, task => task.TaskState.Id == (int)TaskStateNames.Doing && task.ProjectId == projectId).OrderByDescending(task => task.Id).ToList()));
 }