public IActionResult Get(int id) { try { var ViewModel = _appService.GetById(id); return(Ok(ViewModel)); } catch (Exception) { return(BadRequest()); } }