public ActionResult ObterPeloId(int id) { var peca = repository.ObterPeloId(id); if (peca == null) { return(NotFound()); } return(Json(peca)); }
public ActionResult ObterPeloId(int id) { var peca = repository.ObterPeloId(id); return(Json(peca)); }
public ActionResult ObterPeloId(int id) { var peca = repository.ObterPeloId(id); if (peca == null) { return(NotFound()); } return(Json(peca)); }
public ActionResult ObterPeloId(int id) { var peca = repository.ObterPeloId(id); return(Json(peca)); }