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