public bool DocumentUploaded(string key, bool value) { if (OrganizationDocument != null && OrganizationDocument.ContainsKey(key)) { return(OrganizationDocument[key] == value); } return(false); }
private void ReadDocuments(XElement e) { if (OrganizationDocument == null) { OrganizationDocument = new Dictionary <string, bool?>(); } var doc = e.Attribute("documentName"); if (doc != null) { OrganizationDocument.Add(doc.Value, e.Value.ToBool()); } }