예제 #1
0
        //Saves the processed image to the database
        public void saveImage(FileInfo file, byte[] blob)
        {
            String identifier = String.Empty;

            if (file != null)
            {
                identifier = getIdentifier(file.OpenRead());
            }

            if (ConnectionManager.ValidConnection == true)
            {
                ProcessRepository repo = new ProcessRepository();
                repo.processDicom(file.FullName);
                _saveImage(blob, identifier);
            }
        }