public bool DoModification() { RecordResultLog("Operation : Start modification mode"); var mainService = new MainService(this); return mainService.StartRegistryModification(); }
public int StartModification(bool confirmToClose) { _startTime = DateTime.Now; ClearResultLog(); RecordTitle(); var mainService = new MainService(this); var result = mainService.StartRegistryModification(); _endTime = DateTime.Now; RecordFooter(); if (confirmToClose) { Console.WriteLine("Press enter to close..."); Console.ReadLine(); } return result ? 0 : -1; }