예제 #1
0
        public static void Main()
        {
            var server = new WebServer.WebServer(8888, new ControllerRouter(), new ResourceRouter());
            var db     = new TicketSystemContext();

            MvcEngine.Run(server, db);
        }
예제 #2
0
 public TicketsController(TicketSystemContext context)
 {
     _context = context;
 }