Source

main / Source / WebService / Web.Admin / RepositoryService.svc.cs

Diff from to

File Source/WebService/Web.Admin/RepositoryService.svc.cs

         [WebInvoke(Method = "POST")]
         public string GetIdentifier()
         {
-            //Trace.TraceInformation("Get identifier called");
+            Trace.TraceInformation("Get identifier called");
 
             string queryDataString = HttpContext.Current.Request["QueryData"];
             string repositoryModelString = HttpContext.Current.Request["RepositoryModel"];
                 IRepositoryDetailsDB _repositoryDetailsDB = new RepositoryDetailsDB(new DCXLAdminEntities());
                 var repository = _repositoryDetailsDB.GetRespositories().FirstOrDefault(r => string.Compare(r.RepositoryName, repositoryModel.RepositoryName, true) == 0);
 
-                // Get Authorisation for ONEShare repositoryType.
+                // Get Authorization for ONEShare repositoryType.
                 if (repository != null)
                 {
-                    //Trace.TraceInformation("Repository Name :" + repositoryModel.RepositoryName);
                     IRepository instance = RepositoryFactory.GetRepositoryInstance(repositoryModel.RepositoryName);
                     repositoryModel.RepositoryUrl = repository.GetIdentifierUrl;
 
 
                     if (instance != null)
                     {
-                        //Trace.TraceInformation("Calling GetIdentifier on Repository");
+                        Trace.TraceInformation("Calling GetIdentifier on Repository");
                         string returnValue = instance.GetIdentifier(queryData, repositoryModel);
-                        //Trace.TraceInformation("Returning value from service : " + returnValue);
+                        Trace.TraceInformation("Returning value from service : " + returnValue);
                             return returnValue;
                     }
                 }