@using HrynCo.NotificationService.Web.Controllers.Admin.ViewModels @model NotificationServiceDeleteViewModel @{ ViewData["Title"] = "Delete service"; }

Delete service @Model.Name?

@if (Model.DefinitionCount > 0) {
This service still has @Model.DefinitionCount template definition(s), including definitions without translations. Remove every definition before deleting the service.
View templates } else {
This permanently deletes the service and its language catalog.
}

Email channels are retained. Their service names are independent and are not renamed or deleted.

@Html.AntiForgeryToken()
Cancel