Esempio n. 1
0
        public async Task <ActionResult <Container> > GetContainer(int id)
        {
            var container = await _repo.GetByIdAsync(id);

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

            return(Ok(container));
        }