private async Task <BuildProject> GetBuildProject(string specificationId)
        {
            BuildProject buildProject = await _calculationsRepository.GetBuildProjectBySpecificationId(specificationId);

            if (buildProject == null)
            {
                _logger.Error("A null build project was provided to UpdateAllocations");

                throw new ArgumentNullException(nameof(buildProject));
            }

            _logger.Information($"Fetched build project for id {specificationId}");

            return(buildProject);
        }