public async Task <IActionResult> Index(int?parentId = null, int?questionId = null, string info = null, string warning = null, string error = null) { var login = User.Identity.Name; ViewBag.Message = localizer["Join tutorial"]; ViewBag.Error = error; ViewBag.Warning = warning; ViewBag.Info = info; ViewBag.TutorialId = parentId; bool onlyActive = Convert.ToBoolean(Request.Cookies[GlobalHelpers.ACTIVE]); ViewBag.OnlyActive = onlyActive; return(View(await uow.GetUserTutorialsAsync(login, onlyActive))); }