Esempio n. 1
0
 public string GetB2CColorSpecName(string APIColorCode)
 {
     try
     {
         var colorMatch = ColorMapping.FirstOrDefault(x => x.Value.Any(y => y == APIColorCode));
         return(colorMatch.Key);
     }
     catch (Exception ex)
     {
         throw new Exception("Nebim Integration->Color mapping error.APIColorCode:" + APIColorCode, ex);
     }
 }