public ActionResult Logs(int id) { var model = _styleService.GetLogs(id); if (model == null) { SetErrorMessage(T("Style_Message_ObjectNotFound")); return(RedirectToAction("Index")); } return(View(model)); }