예제 #1
0
        public async Task SendEmailToUser(User user, OrderSendErrorView order)
        {
            var emailBody = await _viewRender.RenderViewToStringAsync("/Modules/Semp.Module.Orders/Views/EmailTemplates/OrderEmailToCustomer.cshtml", order);

            var emailSubject = $"Order information #{order}";
            await _emailSender.SendEmailAsync(user.Email, emailSubject, emailBody, true);
        }
예제 #2
0
 public void ResendOrder(OrderSendErrorView order)
 {
 }