public IActionResult GetAllEvents() { try { return(Ok(_eventBLL.GetAllEvents())); } catch (Exception ex) { return(StatusCode(500, ex.Message)); } }