public IActionResult Get(int id) { try { return(Ok(_getManufacturerCommand.Execute(id))); } catch (EntityNotFoundException) { return(NotFound()); } }
// GET: Manufacturer/Details/5 public ActionResult Details(int id) { return(View(_getManufacturer.Execute(id))); }