public static void Delete <K>(IIdentifiedData <K> element) { var dict = GetDictionary(element.GetType()); dict.Remove(element.Id); }
public static void Create <K>(IIdentifiedData <K> element) { var dict = GetDictionary(element.GetType()); dict.TryAdd(element.Id, element); }