Пример #1
0
 public static void ShowEventDetailByIdent(int _EventIdent)
 {
     CommunicationService.LoadSingleEvent(_EventIdent, new OnCommunicationSuccess(LoadSingleEventSucess));
 }
Пример #2
0
 public async static void HandleLoadingError()
 {
     CommunicationService.CancelAllRequests();
     NotificationService.ShowAlert(Messages.ERROR, Messages.LOADING_ERROR, Messages.CLOSE);
     // TODO BACK TO START SCREEN
 }
Пример #3
0
 public static void ShowEventDetail(Event _Event, bool _IsModal = false)
 {
     NavigationService.PushAsync(new ProductItemViewPage(_Event, _IsModal));
     SetPageTitle(_Event.CAPTION);
     CommunicationService.CancelAllRequests();
 }
Пример #4
0
 internal static void GainUserData()
 {
     User HThisUser = GetUserData();
     SetStorageEntry(Constants.STORAGE_KEY_USER, HThisUser.IDENT);
     Task.Factory.StartNew(async () => await CommunicationService.SaveUser(HThisUser));
 }