Код: Выделить всё
//part of a controller
public async Task Process()
{
//here is where I would like to render the loading view
View("Processing", "Processing");
await ProcessData();
//afterwards I want to either to redirect or ammend the loading view with a new model
//this part works but the loading view never shows
if (successful)
return View("Processing", "Processed successfully");
return Redirect("RedirectUrl");
}
Подробнее здесь: https://stackoverflow.com/questions/791 ... ler-method