public ActionResult Logs(int id) { var model = _backgroundTaskService.GetLogs(id, DateTime.UtcNow.ToString("d")); if (model == null) { SetErrorMessage(T("BackgroundTask_Message_ObjectNotFound")); return(RedirectToAction("Index")); } return(View(model)); }