예제 #1
0
        private JObject GetFragment(string documentId, double timeSeconds)
        {
            JObject fragment;

            using (DatabaseClient databaseClient = new DatabaseClient(true))
            {
                string collectionId = Constants.Database.DocumentCollection.Metadata;
                fragment = databaseClient.ExecuteProcedure(collectionId, "getTimecodeFragment", documentId, timeSeconds);
            }
            return(fragment);
        }