protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { if (model.EventID == 0) { jResult = RestSharpCall.Post <JsonResult>(model, "Event/Create"); } else { var m = new Event { ID = model.EventID, EventName = model.EventName, EventDescription = model.EventDescription, EventTag = model.EventTag, EventStartTime = model.EventStartTime, EventPic = model.EventPic, EventCategory = model.EventCategory, EventDate = model.EventDate, EventLocation = model.EventLocation, UserID = model.UserID, Address = model.Address, EventSubCategoryID = 0 }; jResult = RestSharpCall.Post <JsonResult>(m, "Event/Update?id=" + model.EventID); } return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { var friendRequest = new FriendRequest { SendToEmail = userProfile.EmailId, SendToMobile = userProfile.PhoneNo, SendToId = userProfile.UserID, }; jResult = RestSharpCall.Post <JsonResult>(friendRequest, "Friend/Create"); return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jResult = RestSharpCall.Post <JsonResult>(tempFile, "Event/DeleteEventPicture"); return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jResult = RestSharpCall.Post <JsonResult>(friendRequest, "Friend/Create"); return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jsonResult = RestSharpCall.Post <JsonResult>(objUP, "User/SetProfile"); return(jsonResult); }
protected override JsonResult RunInBackground(params Java.Lang.Object[] @params) { jResult = RestSharpCall.Post <JsonResult>(cr, "Log/CrashReport"); return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jresult = RestSharpCall.Post <JsonResult>(model, "Event/SaveEventFeed"); return(jresult); }
protected override JsonResult RunInBackground(params Java.Lang.Object[] @params) { jResult = RestSharpCall.Post <JsonResult>(null, "Friend/CancelFriendRequest?id=" + userData.UserId + "&isFriend=" + isFriend); return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jResult = RestSharpCall.Post <JsonResult>(reset_AddNewPassword, "Account/ResetPassword"); return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jResult = RestSharpCall.Post <JsonResult>(null, "Account/ForgotPassword?username=" + username); return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jsonResult = RestSharpCall.Post <JsonResult>(null, "Account/ReSendMail?username=" + userName); return(jsonResult); }
protected override Token RunInBackground(params Java.Lang.Void[] @params) { authentication = RestSharpCall.Post <Token>(faceBookProfileInfo, "Account/LoginWithFacebook"); return(authentication); }
protected override LikeEventData RunInBackground(params Java.Lang.Void[] @params) { jResult = RestSharpCall.Post <LikeEventData>(null, "Event/SetLikeEvent?eventID=" + id + "&isLike=" + value); return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jResult = RestSharpCall.Post <JsonResult>(wcHolder, "Event/CreateWeClipVideo?eventid=" + wcHolder.EventID); return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jResult = RestSharpCall.Post <JsonResult>(eventAdminList, "Event/MakeAdmin"); return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jsonResult = RestSharpCall.Post <JsonResult>(userinfo, "Account/AddUserInfo"); return(jsonResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jsonResult = RestSharpCall.Post <JsonResult>(reg, "Account/RegisterNewWithPhone"); return(jsonResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jResult = RestSharpCall.Post <JsonResult>(null, "User/NotificationSetting?IsPublic=" + isPublic + "&IsEnable=" + isEnable); return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jresult = RestSharpCall.Post <JsonResult>(changePasswordBindingModel, "Account/ChangePassword"); return(jresult); }
protected override EventResponse RunInBackground(params Java.Lang.Void[] @params) { jResult = RestSharpCall.Post <EventResponse>(null, "EventRequest/UpdateResponse?id=" + eventID + "&responsetext=" + response); return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jResult = RestSharpCall.Post <JsonResult>(null, "Account/Logout"); return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Object[] @params) { jResult = RestSharpCall.Post <JsonResult>(userData, "Friend/CancelInvitedContact"); return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jResult = RestSharpCall.Post <JsonResult>(null, "Friend/RequestConfirm?id=" + getRequestedFriend_Result.ID + "&response=" + ResponseStatus); return(jResult); }
protected override JsonResult RunInBackground(params Java.Lang.Void[] @params) { jResult = RestSharpCall.Post <JsonResult>(eventRequestModel, "EventRequest/InviteForEvent"); return(jResult); }