public void JourneyIncomplete_IsTrue_WhenTouchingOutWhileOut() { var journeyLog = new JourneyLog(new Journey()); journeyLog.FinishExitJourney(exitStation); Assert.IsTrue(journeyLog.JourneyIncomplete("Out")); }
public void JourneyIncomplete_IsTrue_WhenTouchingInWhileIn() { var journeyLog = new JourneyLog(new Journey()); journeyLog.StartEntryJourney(entryStation); Assert.IsTrue(journeyLog.JourneyIncomplete("In")); }
public void Put([FromBody] JourneyLog journeyLog) { _repo.Update(journeyLog); }
public void Post([FromBody] JourneyLog journeyLog) { _repo.Add(journeyLog); }