public ChangelogStatusType GetChangelogStatus(ChangelogIdentificationType changelogid)
 {
     try
     {
         ChangelogManager mng = new ChangelogManager(db);
         return(mng.GetChangelogStatus(changelogid.changelogId));
     }
     catch (Exception ex)
     {
         throw new FaultException(ex.Message);
     }
 }
 public void CancelChangelog(ChangelogIdentificationType changelogid)
 {
     try
     {
         ChangelogManager mng = new ChangelogManager(db);
         mng.AcknowledgeChangelogDownloaded(changelogid.changelogId);
     }
     catch (Exception ex)
     {
         throw new FaultException(ex.Message);
     }
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="datasetId"></param>
 /// <param name="describefeaturetype1"></param>
 /// <returns></returns>
 public object DescribeFeatureType(string datasetId, DescribeFeatureTypeType describefeaturetype1)
 {
     try
     {
         int numDatasetId = 0;
         int.TryParse(datasetId, out numDatasetId);
         ChangelogManager mng = new ChangelogManager(db);
         return(mng.DescribeFeatureType(numDatasetId, describefeaturetype1));
     }
     catch (Exception ex)
     {
         throw new FaultException(ex.Message);
     }
 }
 public ListStoredChangelogsResponse ListStoredChangelogs(
     ListStoredChangelogsRequest request)
 {
     try
     {
         string dataset   = request.datasetId;
         int    datasetId = 0;
         int.TryParse(dataset, out datasetId);
         ChangelogManager mng = new ChangelogManager(db);
         return(mng.ListStoredChangelogs(datasetId)); //TODO mangler input datasettid
     }
     catch (Exception ex)
     {
         throw new FaultException(ex.Message);
     }
 }