Пример #1
0
 public void SaveFileChange(string fileContent, int id)
 {
     _caisReportsHistoryRepository.UpdateFile(ZipString.Zip(fileContent), id);
     m_oServiceClient.Instance.CaisUpdate(_context.User.Id, id);
 }
Пример #2
0
 private void SaveCAISFile(string data, string name, string foldername, int type, int ofItems, int goodUsers, int defaults)
 {
     //File.WriteAllText(@"c:\temp\" + name, data);
     this.caisReportsHistoryRepository.AddFile(ZipString.Zip(data), name, foldername, type, ofItems, goodUsers, defaults);
 }         // SaveCAISFile