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