Example #1
0
        public async Task <bool> Handle(SendProductEmailAFriendMessageCommand request, CancellationToken cancellationToken)
        {
            await _messageProviderService.SendProductEmailAFriendMessage(request.Customer, request.Store,
                                                                         request.Language.Id, request.Product,
                                                                         request.Model.YourEmailAddress, request.Model.FriendEmail,
                                                                         FormatText.ConvertText(request.Model.PersonalMessage));

            return(true);
        }