Exemplo n.º 1
0
 public async Task <Settings> GetDistrictSettings(SchoolDistrict district)
 {
     return(await this.SendAsync <Settings>(district.district_url));
 }
Exemplo n.º 2
0
        public async Task <SchoolDistrict> SetDistrict(SchoolDistrict district)
        {
            var districtUrl = new Uri(district.district_url);

            return(await this.SendAsync <SchoolDistrict>(new RouteValueDictionary { ["district_url"] = districtUrl.Host }));
        }