public void SaveFileChange(string fileContent, int id) { _caisReportsHistoryRepository.UpdateFile(ZipString.Zip(fileContent), id); m_oServiceClient.Instance.CaisUpdate(_context.User.Id, id); }
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