// GET: Tip/Edit/5 public ActionResult Edit(int id) { TipService tipSrv = new TipService(); Tip tip = tipSrv.Obter(id); return(View("Create", tip)); }
// GET: Tip/Details/5 public ActionResult Details(int id) { TipService srv = new TipService(); return(View(srv.Obter(id))); }