public ActionResult ObterPorId(int id) { try { _repTime = new Rep.TimeRepositorio(); return(View(_repTime.ObterPorId(id))); } catch (Exception e) { return(View(ObterTodos())); } }