public async Task <IActionResult> Generate(string version) { await _notificationSender.NoticeNewVersionAsync(version); // waiting for event handler to catch up await Task.Delay(500); return(RedirectToAction(nameof(Index))); }
public async Task <IActionResult> Generate(string version) { await _notificationSender.NoticeNewVersionAsync(version); // waiting for event handler to catch up await Task.Delay(500); return(RedirectToAction(nameof(Index))); }