Exemple #1
0
 public async Task <IEnumerable <EventSummaryModel> > GetEventSummary(DashboardSearchModel searchModel)
 {
     try
     {
         return(await DashboardManager.GetEventSummary(searchModel));
     }
     catch (Exception ex)
     {
         _logger.Error("GetEventSummary-- error- ", ex);
         throw new HttpResponseException(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, "Problem in GetEventSummary"));
     }
 }