public static async Task SendFeedback(int _Rating, int _Event, OnCommunicationSuccess _OnSuccess) { string HData = JsonConvert.SerializeObject(new FeedbackObject() { RATING = _Rating, EVENT_IDENT = _Event, USER_IDENT = FileService.GetStorageValue(Constants.STORAGE_KEY_USER).ToString() }); CallServer(EMessageTypes.MSG_SEND_FEEDBACK, HData, _OnSuccess); }
public static void LoadSingleEvent(int _EventIdent, OnCommunicationSuccess _OnSuccess) { string HData = JsonConvert.SerializeObject(new PersonalTimelineObject() { IDENT = CrossDeviceInfo.Current.Id, EVENT_IDENT = _EventIdent }); CallServer(EMessageTypes.MSG_LOAD_SINGLE_EVENT, HData, _OnSuccess); }
public static async Task ReserveEvent(int _Ident, OnCommunicationSuccess _OnSuccess) { string HData = JsonConvert.SerializeObject(new ReserveObject(_Ident, FileService.GetStorageValue(Constants.STORAGE_KEY_USER).ToString())); CallServer(EMessageTypes.MSG_SEND_RESERVATION, HData, _OnSuccess); }