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