[WebMethod(EnableSession = true)]
public void GetUpcomingEvents(string EventType, string Keyword)
{
DataTable dt = sqlHelper.ExecuteDataTable("Sp_EventDescription", CommandType.StoredProcedure, new SqlParameter[]{
new SqlParameter("@mode", 20),
new SqlParameter("@EventType", EventType),
new SqlParameter("@Keyword", string.IsNullOrEmpty(Keyword) ? null : Keyword),
new SqlParameter("@CityId", Session["MasterCity"])
});
Context.Response.Clear();
Context.Response.Write(JsonConvert.SerializeObject(dt, Formatting.Indented));
Context.Response.Flush();
Context.Response.End();
}