Пример #1
0
        public override void Save()
        {
            DeleteFile(File);

            File = WorkWithFiles.FileCopy(File, "Template", Name);

            Provider.Insert("Template", Id, Name, File);
        }
Пример #2
0
        private static string GetDistPath(string file, string folderName, string newFileName)
        {
            string fileExt = WorkWithFiles.GetFileExt(file);

            return(@"\\bbmru08.bbmag.bbraun.com\programs\Utility\BBAuto\files\" + folderName + @"\" + newFileName + fileExt);
        }