예제 #1
0
        public LogEntry AddNewLog(TourEntry log_tourEntry, DateTime logDate, string report, double distance, TimeSpan totalTime, double rating)
        {
            int id = fileAccess.CreateNewLogEntryFile(log_tourEntry, logDate, report, distance, totalTime, rating);

            return(new LogEntry(id, log_tourEntry, logDate, report, distance, totalTime, rating));
        }