public void AddContainerTechnician() { if (this.FindControlAccessByControlName(this.ContainerName) != null) { return; } ControlAccess controlAccess = new ControlAccess(this.ContainerName, this.ContainerAccessDescription, this.ContainerName, RoleEnums.Technician); this.AddControlAccess(controlAccess); }
public ControlAccess GetContainerAccess() { ControlAccess access = this.FindControlAccessByControlName(this.ContainerName); return(access); }
public void AddControlAccess(ControlAccess controlAccess) { this.ControlAccessList.Add(controlAccess); }