public async Task <StandardOptions> GetStandardOptionsByStandardId(string id)
        {
            StandardOptions options = null;

            try
            {
                var standardId = new StandardId(id);
                switch (standardId.IdType)
                {
                case StandardId.StandardIdType.LarsCode:
                    options = await _standardRepository.GetStandardOptionsByLarsCode(standardId.LarsCode);

                    break;

                case StandardId.StandardIdType.IFateReferenceNumber:
                    options = await _standardRepository.GetStandardOptionsByIFateReferenceNumber(standardId.IFateReferenceNumber);

                    break;

                case StandardId.StandardIdType.StandardUId:
                    options = await _standardRepository.GetStandardOptionsByStandardUId(standardId.StandardUId);

                    break;
                }
            }
            catch (Exception ex)
            {
                _logger.LogError(ex, $"STANDARD OPTIONS: Failed to get standard options for id {id}");
            }

            return(options);
        }