Example #1
0
 /// <summary>
 /// To get all either from AgileTodoTask or NormalTodoTask
 /// </summary>
 /// <returns></returns>
 public IEnumerable <TodoTaskModel> GetAll(Guid projectId)
 {
     return(_toDoTaskStrategy.GetAll(_server).Where(x => x.ProjectId == projectId));
 }
 /// <summary>
 /// To get all either from AgileTodoTask or NormalTodoTask
 /// </summary>
 /// <returns></returns>
 public List <TodoTaskModel> GetAll(Guid projectId)
 {
     return(_toDoTaskStrategy.GetAll(AppSettings.RedisServer).Where(x => x.ProjectId == projectId).ToList());
 }