Example #1
0
        public ActionResult SignalAll()
        {
            var repos = new TileRepository();
            foreach (var tile in repos.GetTiles())
                tile.Signal.FireChanged();

            return RedirectToAction("index");
        }
Example #2
0
 public ActionResult Index()
 {
     var repos = new TileRepository();
     ViewData["tiles"] = repos.GetTiles();
     return View();
 }