public void can_bind_against_querystring_parameters() { var model = new QueryStringModel { Color = "Green", Direction = "South" }; Harness.Endpoints.GetByInput(model).ReadAsText() .ShouldEqual(model.ToString()); }
public void can_bind_against_querystring_parameters() { var model = new QueryStringModel{ Color = "Green", Direction = "South" }; Harness.Endpoints.GetByInput(model).ReadAsText() .ShouldEqual(model.ToString()); }
public string get_querystring_data(QueryStringModel model) { return(model.ToString()); }
public string get_querystring_data(QueryStringModel model) { return model.ToString(); }