Exemplo n.º 1
0
        public async Task <IActionResult> Index(TasksIndexViewModelQuery query)
        {
            var model = await _mediator.SendAsync(query);

            model.NotificationMessage = TempData[NotificationMessageKey] as string;
            return(View(model));
        }
Exemplo n.º 2
0
 public IActionResult Index(TasksIndexViewModelQuery query)
 {
     return(RedirectToAction("Index", "Tasks"));
 }