Example #1
0
        public async Task <IActionResult> Subscribe(SubscribeBindingModel model)
        {
            _logger.LogInformation($"{model.Email} subscribed for us.");

            await _utilityManager.AddSubscriberAsync(model.Email);

            return(Json("You successfully subscribed for our newspaper"));
        }