async public override Task <Unit> Handle(AddressBookAction aAction, CancellationToken aCancellationToken) { try { var rq = new Data.W01012A.Request(aAction.AN8); if (aAction.RowAction == RowAction.Save) { rq.SaveAction(AppState.AddressBook); AppState.EditMode = false; await JsService.InitMenu("menu", new string[] { "Back", "Edit" }); } var rs = await E1Service.RequestAsync <Data.W01012A.Response>(rq); AppState.AddressBook = rs.fs_P01012_W01012A.data; EventHandler handler = AppState.StateChanged; handler?.Invoke(AppState, null); } catch { } return(Unit.Value); }
public ListAddressBookHandler(IStore store, E1Service e1Service) : base(store) { E1Service = e1Service; }
public LogoutHandler(IStore store, E1Service e1Service) : base(store) { E1Service = e1Service; E1Service.AuthResponse = State.AuthResponse; }
public AddressBookHandler(IStore store, E1Service e1Service, JsService jsService) : base(store) { E1Service = e1Service; JsService = jsService; }
public GetUDCHandler(IStore aStore, E1Service e1Service) : base(aStore) { E1Service = e1Service; }
public GetOMWStatsHandler(IStore aStore, E1Service e1Service) : base(aStore) { E1Service = e1Service; }