コード例 #1
0
ファイル: IntakeController.cs プロジェクト: buyonlinemahi/MMC
        public void deleteRFARecordSplitting(int _rfaRecSpltID, int patientID, int claimID, string fileName)
        {
            //create path...
            StorageModel _storageModel = new StorageModel();

            _storageModel            = Mapper.Map <StorageModel>(_commonService.GetStorageStuctureByID(claimID, 'C'));
            _storageModel.path       = Server.MapPath(System.Configuration.ConfigurationManager.AppSettings[GlobalConst.VirtualDirectoryPath.VirtualPath].ToString());
            _storageModel.FolderName = GlobalConst.FolderName.MedicalRecords;

            string saveToPath = _storageService.GeneateStorage(_storageModel);

            //end path..
            _pdfSplitterService.deleteFileRFARecSplt(saveToPath + GlobalConst.ConstantChar.DoubleBackSlash + fileName);
            _intakeService.deleteRFARecordSplitting(_rfaRecSpltID);
        }