public JsonResult UpdateEventRegistrations(long event_id, long?user_id, bool ishb) { return(JSON(EventRepository.AddEventRegistration(event_id, (user_id.HasValue) ? user_id.Value : 0, ishb))); }
public JsonResult UpdateEventRegistrations(long event_id, long?user_id, bool ishb) { return(JSON(EventRepository.AddEventRegistration(event_id, (user_id.HasValue) ? user_id.Value : 0, ishb))); }