protected override async void OnInitialize() { base.OnInitialize(); await LongRunningJob.Run(this, this.LoadCategoriesAndProducts, "Loading products and categories..."); }
protected async override void OnActivate() { base.OnActivate(); await LongRunningJob.Run(this, this.LoadRecentProducts, "Loading recent products..."); }
protected override async void OnInitialize() { base.OnInitialize(); await LongRunningJob.Run(this, this.LoadData, "Loading..."); }
public async void PlaceOrder() { await LongRunningJob.Run(this, this.CreateOrder, "Placing order..."); }