public int CountLine(string path, string line) { try { return(_fileWorker.CountLineEntries(path, line)); } catch (IOException ex) { Log.Logger.Error($"{ex.Message} TextParserApp.CountLine"); throw; } }