public void AddRenderingCreatorID(long id) { if (!RenderingCreatorIDs.Contains(id)) { RenderingCreatorIDs.Add(id); } }
public bool IsCreatorIDInRendering(long id) { if (id <= 0 || id == LoginUserInfo.SystemUserID || RenderingCreatorIDs.Count == 0) { return(true); } return(RenderingCreatorIDs.Contains(id)); }