public IActionResult SubscriveNewsletter(string email) { string message; var result = _mailHelper.SendNewsletterConfirmation(email); if (!result) { message = "Something went wrong!"; } else { message = "Thank you for subscriving."; } return(Json(message)); }