Exemple #1
0
 public ActionResult Inorder()
 {
     AsyncHelper.InvokeAndWait(Update);
     AsyncHelper.InvokeAndWait(Update2);
     return(Content(_container));
 }
Exemple #2
0
 public ActionResult NotInOrder()
 {
     AsyncHelper.InvokeAndWait(() => Task.WhenAll(Update(), Update2()));
     return(Content(_container));
 }
Exemple #3
0
 public ActionResult Swait()
 {
     AsyncHelper.InvokeAndWait(AssignValue2);
     return(Content(_container));
 }