Esempio n. 1
0
        public IActionResult Register(Guid idTask, Guid?idCampaign = null, string returnUrl = null)
        {
            try
            {
                ViewData["ReturnUrl"] = returnUrl;
                var model = _taskCampaignBusiness.GetTask(idCampaign, idTask, ApplicationUserCurrent.AccountId);
                model.ReturnUrl = returnUrl;

                GetMerchants();

                return(View(model));
            }
            catch (Exception e)
            {
                _logger.LogError(new EventId(0, "Error Index"), e.Message);
                return(RedirectToAction("Index", "StatusCode", new { statusCode = 1 }));
            }
        }