public JsonResult GetEventReportByID(int eventId, int eventType) { EventReportDetails eventdetails = new EventReportDetails(); EduData = new EducationManagerData(); try { eventdetails = EduData.GetEventReportByID(eventType, eventId, 1); } catch (Exception ex) { clsError.WriteException(ex); } return(Json(eventdetails, JsonRequestBehavior.AllowGet)); }
public ActionResult OnSpotEventCheckIn(int EventId) { var EventDetails = EduData.GetEventReportByID(0, EventId, 2, "", null); return(View(EventDetails)); }