public static bool Validate(string[] csvFileName)
        {
            string csvFilePath = FilePathCapture.Capture(csvFileName);

            if (File.Exists(csvFilePath) == false)
            {
                StandardMessages.DisplayValidationError(string.Format("CSV file!{0}The CSV File should be in the" +
                                                                      " same location with the executable file.", Environment.NewLine));
                return(false);
            }

            return(true);
        }
        public static bool Validate(string[] terminalArguments)
        {
            if (terminalArguments.Length < 3)
            {
                StandardMessages.DisplayValidationError("CSV file name (string), user latitude (double) and user longitude (double)!");
                return(false);
            }

            bool filePathGivenIsValid = CSVFilePathValidator.Validate(terminalArguments);

            if (filePathGivenIsValid == false)
            {
                return(false);
            }

            bool coordinatesAreValid = UserCoordinatesValidator.Validate(terminalArguments);

            if (coordinatesAreValid == false)
            {
                return(false);
            }

            return(true);
        }