Beispiel #1
0
 /// <summary>
 /// to get tasks for a user and clients for tasks
 /// </summary>
 /// <returns></returns>
 public List <TodoViewModel> GetClientsForAllToDoTasks()
 {
     try
     {
         List <TodoBusinessModel> todoBusinessModels = _toDoRepository.GetClientsForAllToDoTasks();
         return(BusinessMapper.MappingTodoBusinessToViewModel(todoBusinessModels));
     }
     catch (Exception ex)
     {
         _logger.Log(ex, LogLevel.Error, ex.Message);
         return(null);
     }
 }