public bool Create(string id, enmResourceType type, string value) { ResourceContainer res = Read(id); //TODO Type should be taken from XMLEnum _resourceList.Add(new ResourceContainer() { Id = id, Type = type.ToString().ToLower(), Value = value }); return true; }
public bool CreateResource(string id, enmResourceType resource, string value, bool overWrite) { TTE.Log(id, resource); return ResourceCache.Create(id, resource, value); }