void saveData2File() { FixDataJson = JsonConvert.SerializeObject(fixData); DataBaseWorker.SaveFixData(FixDataJson, user_id, date); string path = DataConverter.OldTypeDirectory(date, user_id); DataValidation.CheckDirectoryPath(path, true, FileAttributes.Hidden); File.WriteAllText(path + @"\fixData.json", FixDataJson); //FixDataFound = true; }