public async Task <IActionResult> Index(TasksIndexViewModelQuery query) { var model = await _mediator.SendAsync(query); model.NotificationMessage = TempData[NotificationMessageKey] as string; return(View(model)); }
public IActionResult Index(TasksIndexViewModelQuery query) { return(RedirectToAction("Index", "Tasks")); }