public RazorEmailResult TaskOverdueRiskAssessor(TaskOverdueViewModel viewModel) { var toAddress = GetToAddress(viewModel.To); To.Add(toAddress); Subject = viewModel.Subject; From = DefaultFromAddress; return Email("TaskOverdueRiskAssessorEmail", viewModel); }
public RazorEmailResult ActionTaskOverdueUser(TaskOverdueViewModel viewModel) { var toAddress = GetToAddress(viewModel.To); To.Add(toAddress); Subject = viewModel.Subject; From = DefaultFromAddress; return Email("ActionTaskOverdueUserEmail", viewModel); }