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