比如我得到一个过滤器模型:
public class Filter
{
public int Id{get;set;}
public string Name{get;set;}
public DateTime CreateTime{get;set;}
}
并且有一个 SearchController 动作,例如:
public ActionResult Search(Filter filterModel)
{
List<Model> model =SampleBll.get(filterModel)
}
所以问题是。如何配置 URL
/Search/{Filter.Id}_{Filter.Name}_{Filter.CreatTime}/
谢谢您的帮助