public async Task <Settings> GetDistrictSettings(SchoolDistrict district) { return(await this.SendAsync <Settings>(district.district_url)); }
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 })); }