Exemplo n.º 1
0
 // GET: Select
 public ActionResult Select(int?id)
 {
     if (id != null)
     {
         int myid = (int)id;
         MainRepository.selectedGarage = _garage.GetGarageByID(myid);
     }
     return(Redirect(Request.UrlReferrer.ToString()));
 }