private ActionResult ObterVisaoFabricantePorId(long?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } Fabricante fabricante = _fabricanteServico.ObterFabricanePorId((long)id); if (fabricante == null) { return(HttpNotFound()); } return(View(fabricante)); }