public JsonResult MakePayment(Fpp.Core.Models.ShowEntry showEntry) { ProcessEntry.ProcessEntry processEntry = new ProcessEntry.ProcessEntry(); TrackUser("AdminMakePayment", Newtonsoft.Json.JsonConvert.SerializeObject(showEntry), showEntry.UserId); return Json(new { Response = processEntry.AdminPayForShow(showEntry) }); }
public JsonResult GetSummaryForm(int ShowId) { try { AuditManager.TrackUserEvent(CurrentUser.ID, "GetSummaryForm", string.Format("ShowId={0}", ShowId)); } catch { } var res = new ProcessEntry.ProcessEntry().GetSummaryForm(ShowId, CurrentUser.ID); return Json(new { Status = 0, Data = res }); }
public JsonResult GetDetailsForUser(int ShowId, int UserId) { int handlerType = 0; ProcessEntry.ProcessEntry processEntry = new ProcessEntry.ProcessEntry(); var UserDetails = processEntry.GetDetails(ShowId, UserId, handlerType); return Json(new { Status = 0, UserDetails }); }
public JsonResult EnterShow(Fpp.Core.Models.UserShowEntry adminShowEntry) { ProcessEntry.ProcessEntry processEntry = new ProcessEntry.ProcessEntry(); TrackUser("AdminEnterShow", Newtonsoft.Json.JsonConvert.SerializeObject(adminShowEntry), adminShowEntry.UserId); var response = processEntry.AdminEnteredShow(adminShowEntry); return Json(new { Response = response }); }
public JsonResult CalcEntry(Fpp.Core.Models.UserShowEntry userShowEntry) { var process = new ProcessEntry.ProcessEntry(); EntryDetails.SaveEntryv2(userShowEntry); process.CalcShow(userShowEntry); return Json(new { Status = 0 }); }
public JsonResult UserEnterShow(Fpp.Core.Models.UserPaymentDetails userPaymentDetails) { ProcessEntry.ProcessEntry processEntry = new ProcessEntry.ProcessEntry(); userPaymentDetails.UserId = CurrentUser.ID; try { TrackUser("UserEnterShow", Newtonsoft.Json.JsonConvert.SerializeObject(userPaymentDetails)); } catch { AppException.LogEvent( $"UserEnterShow:UserId:{userPaymentDetails.UserId} ShowId{userPaymentDetails.ShowId}"); } return Json(new { Status = processEntry.EnterShow(userPaymentDetails) }); }