public IActionResult Details(Guid?id) { if (id == null) { return(NotFound()); } var expedidorViewModel = _expedidorAppService.GetById(id.Value); if (expedidorViewModel == null) { return(NotFound()); } return(View(expedidorViewModel)); }
public IActionResult Get(Guid id) { var fornecedorViewModel = _expedidorAppService.GetById(id); return(Response(fornecedorViewModel)); }