Beispiel #1
0
 public IActionResult SubscribeQuery(string email, string subscribeQuery)
 {
     if (!string.IsNullOrEmpty(email) && !string.IsNullOrEmpty(subscribeQuery))
     {
         _subscribeService.AddSubscribe(email, subscribeQuery);
         _subscribeService.SendConfirmationSubscribeMessage(email, subscribeQuery);
         return(Ok());
     }
     else
     {
         return(NotFound());
     }
 }