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); }