public ActionResult Create(string email) { IncludeSubscriberCount(); if (string.IsNullOrEmpty(email)) { return(View()); } AlertsService.SubscribeToNewsletter(email); Notice("Du er tilmeldt nyhedsbrevet"); return(Redirect("~/")); }
public ActionResult Create(string email) { IncludeSubscriberCount(); if (string.IsNullOrEmpty(email)) { return(View()); } AlertsService.SubscribeToNewsletter(email); Notice("Du er tilmeldt nyhedsbrevet"); return(Redirect("~/")); }