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