Ejemplo n.º 1
0
 /// <summary>
 /// To returns either AgileTodoTask or NormalTodoTask model
 /// </summary>
 /// <param name="taskId">Task id to get the model.</param>
 /// <returns></returns>
 public TodoTaskModel GetById(Guid taskId)
 {
     return(_toDoTaskStrategy.GetById(_server, taskId));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// To returns either AgileTodoTask or NormalTodoTask model
 /// </summary>
 /// <param name="taskId">Task id to get the model.</param>
 /// <returns></returns>
 public TodoTaskModel GetById(Guid taskId)
 {
     return(_toDoTaskStrategy.GetById(AppSettings.RedisServer, taskId));
 }