public String GetCommonResultItems(String Keyword) { MAVCPigeonClockingMobileApps.Models.MainPage mainPage = new MAVCPigeonClockingMobileApps.Models.MainPage(); mainPage.StickerNumber = Keyword; mainPage.ClubName = LWT.Common.LWTSafeTypes.SafeString(Session["ClubName"]); mainPage.ReleaseDate = LWT.Common.LWTSafeTypes.SafeDateTime(Session["ReleaseDate"]); mainPage.MobileNumber = LWT.Common.LWTSafeTypes.SafeString(Session["UserID"]); return(mainPage.SendStickerNumber().ResultMessage); }
public JsonResult SendStickerNumber(String StickerNumber, String ClubName) { try { MAVCPigeonClockingMobileApps.Models.MainPage mainPage = new MAVCPigeonClockingMobileApps.Models.MainPage(); mainPage.StickerNumber = StickerNumber; mainPage.ClubName = ClubName; mainPage.MobileNumber = LWT.Common.LWTSafeTypes.SafeString(Session["UserID"]); return(Json(mainPage.SendStickerNumber())); } catch (Exception ex) { throw ex; } }
public JsonResult RaceDetails(String ClubID, DateTime ReleaseDate) { try { SetSessionValue(ClubID, ReleaseDate); MAVCPigeonClockingMobileApps.Models.MainPage mainPage = new MAVCPigeonClockingMobileApps.Models.MainPage(); mainPage.ClubID = ClubID; mainPage.ReleaseDate = LWT.Common.LWTSafeTypes.SafeDateTime(ReleaseDate); return(Json(mainPage.GetRaceDetails())); } catch (Exception ex) { throw ex; } }
public JsonResult GetTestResult() { MAVCPigeonClockingMobileApps.Models.MainPage mainPage = new MAVCPigeonClockingMobileApps.Models.MainPage(); return(this.Json(mainPage.GetForecastTable(), JsonRequestBehavior.AllowGet)); }