fullstackhero / blazor-starter-kit

Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
MIT License
3.45k stars 726 forks source link

UserService has lots of email logic code in it. #340

Open keithtobin opened 2 years ago

keithtobin commented 2 years ago

In the infrastructure DLL under UserService I noted that the sending of emails code is all over this class, its not the job of this class to send email and Q tasks in the background handler. It may be better to have this email code for send the email and using the background services all in the email services with a nice clear interface and retry logic where it can be called from the UserService.