Пример #1
0
        public void Initialize(Person connectedPerson)
        {
            ConnectedPerson = connectedPerson;

            if (HasRequiredPermissions)
            {
                var mySchoolInfo = new SchoolEntities().SchoolInfo;
                SchoolName        = mySchoolInfo.Find("schoolName").value;
                SchoolDescription = mySchoolInfo.Find("schoolDescription").value;
                SchoolLogo        = mySchoolInfo.Find("schoolImage").value;
            }
        }