public ColorMappingDataAccess(IOptionDataAccess optionDataAccess, IProfileType profileType)
        {
            if (optionDataAccess == null)
            {
                throw new ArgumentNullException(nameof(optionDataAccess));
            }
            if (profileType == null)
            {
                throw new ArgumentNullException(nameof(profileType));
            }

            _optionDataAccess = optionDataAccess;
            _profileType      = profileType;
        }
 public ColorMappingDataAccess(IOptionDataAccess optionDataAccess)
 {
   if (optionDataAccess == null) throw new ArgumentNullException(nameof(optionDataAccess));
   _optionDataAccess = optionDataAccess;
 }