public static void AddResources(string key, ENRZDataContext <SimpleImgModel> value) { if (!ListResourcesMap.ContainsKey(key)) { ListResourcesMap.Add(key, value); } }
public static bool IfContainsResources(string key) { return(ListResourcesMap.ContainsKey(key)); }
public static ENRZDataContext <SimpleImgModel> GetResources(string key) { return(ListResourcesMap.ContainsKey(key) ? ListResourcesMap[key] : null); }