Пример #1
0
 public static string DetailsUrl(ICommunity community, SearchType searchtype)
 {
     return(searchtype.FluentUrl().State(community.Address.StateCode).City(community.Address.City)
            .Name(community.Name)
            .DetailsId(community.Id)
            .Url());
 }
Пример #2
0
 public static string PrintDirectionBaseUrl(Community community, SearchType searchType)
 {
     return(searchType.FluentUrl().State(community.Address.StateCode).City(community.Address.City)
            .Name(community.Name)
            .DetailsId(community.Id)
            .PrintDirection()
            .Url());
 }
Пример #3
0
 public static string SearchUrl(ISearchCriteria criteria, SearchType searchtype)
 {
     return(searchtype.FluentUrl().State(criteria.StateCode()).Zip(criteria.Zip())
            .City(criteria.City())
            .Url());
 }