public IActionResult Profile(Guid idTask) { try { ViewData[CTask.IdRegister] = idTask.ToString(); ViewData[CTask.IsUse] = _taskCampaignBusiness._IstaskBlock(Guid.Parse(ApplicationUserCurrent.UserId), idTask, ApplicationUserCurrent.UserName); LoadSelectItems(); return(View()); } catch (Exception e) { _logger.LogError(new EventId(0, "Error Index"), e.Message); return(RedirectToAction("Index", "StatusCode", new { statusCode = 1 })); } }