Exemplo n.º 1
0
 /// <summary>
 /// Gets the data to send.
 /// </summary>
 /// <param name="state">The state.</param>
 /// <returns>Task{IEnumerable{TaskInfo}}.</returns>
 protected override Task <DashboardInfo> GetDataToSend(object state)
 {
     return(DashboardService.GetDashboardInfo(_appHost, Logger, _taskManager, _userManager, _libraryManager));
 }
 /// <summary>
 /// Gets the data to send.
 /// </summary>
 /// <param name="state">The state.</param>
 /// <returns>Task{IEnumerable{TaskInfo}}.</returns>
 protected override Task <DashboardInfo> GetDataToSend(object state)
 {
     return(Task.FromResult(DashboardService.GetDashboardInfo(_appHost, _taskManager, _sessionManager, _dtoService)));
 }