I have a method in a controller which send mails to users. One usecase of the admin part call this method and send mails with a duration about 1 hour. During this time I can't call again this method.
Is the call of a method in ASP MVC is blocking ? Should I use
async Task<returnValue>
?
I tried it's not working may be it is not the good usage.
Problematic method is
public ActionResult SubscriptionsSendMails()
{
// Code to send mail (1 hour execution)
}
If anyone know a solution, thanks in advance for his answer.