public JsonResult DeleteEvent(int eventId)
        {
            bool result = eventBAL.DeleteEventfromList(eventId);

            return(Json(result, JsonRequestBehavior.AllowGet));
        }
        /*<summary>
         * This method is used to delete an event
         * </summary>*/
        ///<param name="eventId"> Event id the selection of Event to delete </param>
        /*<returns>PartialView of the List of Updated Events after delete </returns> */

        public ActionResult DeleteEvent(int eventId)
        {
            return(PartialView("_EventsList", eventBAL.DeleteEventfromList(eventId)));
        }