private void _RequestWelcomeMessage() { Task.Factory.StartNew(() => { RequestNS.ARequest request = this._Factory.CreateWelcomeRequest(); request.OnRequestCompleted += welcomeRequest_OnRequestCompleted; request.Execute(); }); }
public void OrderDrink(string drinkId) { Task.Factory.StartNew(() => { RequestNS.ARequest request = this._Factory.CreateOrderDrinkRequest(drinkId); request.OnRequestCompleted += orderRequest_OnRequestCompleted; request.Execute(); }); }
public void UpdateOrderStatus(string orderId) { Task.Factory.StartNew(() => { RequestNS.ARequest request = this._Factory.CreateOrderStatusRequest(orderId); request.OnRequestCompleted += orderUpdaterequest_OnRequestCompleted; request.Execute(); }); }
private void _RequestDrinks() { Task.Factory.StartNew(() => { RequestNS.ARequest request = this._Factory.CreateGetDrinkRequest(); request.OnRequestCompleted += getDrinkRequest_OnRequestCompleted; request.Execute(); }); }