Example #1
0
        public void GetTerminalBasicsByIdTest()
        {
            var fs = new FerryService();

            try
            {
                var terminalTask = fs.GetAsync <TerminalBasics>("7");
                terminalTask.Wait();
                var terminal = terminalTask.Result;


                Assert.NotNull(terminal);
                Assert.AreEqual("7", terminal.TerminalId);
                Assert.AreEqual("4", terminal.RegionId);
                Assert.AreEqual("Seattle", terminal.TerminalName);
            }
            catch (Exception e)
            {
                Logger.Debug(e);
            }
        }
Example #2
0
 public FerryController(FerryService Service)
 {
     _Service = Service;
 }