public async Task HandleAsync(InsertProductsEvent message, CancellationToken cancellationToken) { await ActivateItemAsync(IoC.Get <InsertProductsViewModel>(), cancellationToken); }
public void Handle(InsertProductsEvent message) { ActivateItem(IoC.Get <InsertProductsViewModel>()); }