public IActionResult DuplicateSection(ServiceRegisterViewModel model) { if (!ModelState.IsValid) { LoadViewData(model.IdCustomer, model.Id.ToString()); return(View("Register", model)); } _serviceBusiness.DuplicateSection(model, ApplicationUserCurrent.AccountId); return(RedirectToAction("Register", new { service = _protector.Protect(model.Id.ToString()) })); }