Exemplo n.º 1
0
        public async Task <ActionResult <ContainerDto> > GetContainer(long id)
        {
            var container = await _containerService.GetById(id);

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

            return(container);
        }