public override IServiceLocatorSchool SchoolServiceLocator(Guid districtId, int?schoolId) { var district = DistrictService.GetByIdOrNull(districtId); Context.SwitchSchool(district.Id, district.Name, district.TimeZone, null, district.ServerUrl, null); var serviceLocator = new ImportServiceLocatorSchool(this); return(serviceLocator); }