AspNet5Localization.Controllers.BoxesController.Get C# (CSharp) Метод

Get() приватный Метод

private Get ( int id ) : IActionResult
id int
Результат IActionResult
        public IActionResult Get(int id)
        {
            if (id == 0)
            {
                return NotFound(id);
            }

            return Ok(new Box() { Id = id, Height = 10, Length = 10, Width=10 });
        }