Exemplo n.º 1
0
        protected CurrentPersonViewData(PersonDetails person, District district, School school, SchoolYear schoolYear, IList <ClaimInfo> claimInfos)
            : base(person)
        {
            CurrentSchoolYearId   = schoolYear.Id;
            CurrentSchoolYearName = schoolYear.Name;

            SchoolLocalId    = school.LocalId;
            SchoolName       = school.Name;
            DistrictId       = district.Id;
            DistrictTimeZone = DateTimeTools.WindowsToIana(district.TimeZone);
            DistrictName     = district.Name;
            StateCode        = district.StateCode;
            Email            = person.Email;
            Claims           = PersonClaimViewData.Create(claimInfos);
        }
Exemplo n.º 2
0
 public static CurrentPersonViewData Create(PersonDetails person, District district, School school, SchoolYear schoolYear, IList <ClaimInfo> claims)
 {
     return(new CurrentPersonViewData(person, district, school, schoolYear, claims));
 }