コード例 #1
0
        public async Task <IActionResult> Get(int?id)
        {
            var model = await phongBanRepository.getById(id);

            if (model == null)
            {
                return(NotFound());
            }

            return(Ok(model));
        }