public static ColorStore GetColorStore() { ColorStore colorStore = new ColorStore(new Dictionary <Color, ConsoleColor>(), new Dictionary <ConsoleColor, Color>()); colorStore.Update(TEST_COLOR, TEST_CONSOLE_COLOR); return(colorStore); }
public bool Put(int id, string name, string hex) { var color = new Color() { Hex = hex, Name = name }; return(_colorStore.Update(color, id)); }