/// <summary> /// Deletes the exported files. /// </summary> private void DeleteExportedFiles() { //Delete unwanted zipped files if they are being there for more than the defined days from its creation date using (StageBitzDB dataContext = new StageBitzDB()) { CompanyBL companyBL = new CompanyBL(dataContext); companyBL.RemoveGeneratedExportFiles(); } }