public async Task<ActionResult> Index() { var tableData = await mediator.SendAsync(new GetExportNotificationOwnerDisplays()); var model = new ExportNotificationsViewModel { TableData = tableData }; return View(model); }
public async Task <ActionResult> Index() { var tableData = await mediator.SendAsync(new GetExportNotificationOwnerDisplays()); var model = new ExportNotificationsViewModel { TableData = tableData }; return(View(model)); }