public async Task <IActionResult> GetContainerById(int containerId)
        {
            try
            {
                var containerEntity = await _containerRepository.GetById(containerId);

                var containerQuantity = _containerRepository
                                        .GetContainerCountBySerialNumber(containerEntity.SerialNumber);

                var container = containerEntity.ToDomainModel();

                return(new OkObjectResult(container.ToViewModel()));
            }
            catch (Exception exception)
            {
                return(new BadRequestObjectResult(exception.Message.ToString()));
            }
        }