на почту отчеты не отправляются но делаются, что радует, я спать!

This commit is contained in:
a.puchkina 2024-05-29 02:44:37 +04:00
parent ebaec177d1
commit 81acf860dd
3 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,6 @@ app.UseAuthorization();
app.MapControllerRoute(
name: "default",
pattern: "{controller=Home}/{action=Index}/{id?}");
pattern: "{controller=Home}/{action=Lawyers}/{id?}");
app.Run();

View File

@ -110,6 +110,7 @@ namespace LawFirmRestApi.Controllers
FileName = report.FileName,
GuarantorId = report.GuarantorId,
LawyerId = report.LawyerId,
Email = report.Email,
});
_mailWorker.MailSendAsync(new MailSendInfoBindingModel
{

Binary file not shown.