Exemple #1
0
 public CacheInfo GetCacheInfo(string scope, string app)
 {
     try
     {
         OutgoingWebResponseContext context = WebOperationContext.Current.OutgoingResponse;
         context.ContentType = "application/xml";
         return(_adapterProvider.GetCacheInfo(scope, app));
     }
     catch (Exception ex)
     {
         CustomErrorLog objCustomErrorLog = new CustomErrorLog();
         _CustomError = objCustomErrorLog.customErrorLogger(ErrorMessages.errGetCacheInfo, ex, _logger);
         objCustomErrorLog.throwJsonResponse(_CustomError);
         return(null);
     }
 }