public async Task <ActionResult <Container> > GetContainer(int id) { var container = await _repo.GetByIdAsync(id); if (container == null) { return(NotFound()); } return(Ok(container)); }
public async Task <ActionResult <Container> > GetContainer(int id) { var container = await _repo.GetByIdAsync(id); if (container == null) { return(NotFound()); } return(Ok(container)); }