@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.
}

Reassign this service's push channel and reassign or remove its email channels before deleting the service. Channels are never deleted automatically.

@Html.AntiForgeryToken()
Cancel