예제 #1
0
        public IActionResult Get(int id)
        {
            try
            {
                var ViewModel = _appService.GetById(id);

                return(Ok(ViewModel));
            }
            catch (Exception)
            {
                return(BadRequest());
            }
        }