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); }
public void ResendOrder(OrderSendErrorView order) { }