Exemplo n.º 1
0
 public ActionResult Footer(string value)
 {
     if (CustomRepository.GetSide() == "white")
     {
         if (value == "Yes")
         {
             CustomRepository.ChangeSideToBlack();
         }
     }
     return(RedirectToAction("Person", "Custom"));
 }
Exemplo n.º 2
0
        public ActionResult Header()
        {
            var faction = CustomRepository.GetSide();

            return(PartialView("Header", faction));
        }