Example #1
0
 public async Task <IActionResult> GetEventsByUserId(Guid userId)
 {
     try
     {
         return(Ok(await eventQueryManager.GetEventsByUserId(userId)));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
 public async Task <IActionResult> GetEventsByUserId(Guid userId)
 {
     return(Ok(await eventQueryManager.GetEventsByUserId(userId)));
 }