Exemple #1
0
 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);
 }
Exemple #2
0
 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;
     }
 }
Exemple #3
0
 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;
     }
 }
Exemple #4
0
 public JsonResult GetTestResult()
 {
     MAVCPigeonClockingMobileApps.Models.MainPage mainPage = new MAVCPigeonClockingMobileApps.Models.MainPage();
     return(this.Json(mainPage.GetForecastTable(), JsonRequestBehavior.AllowGet));
 }