Exemplo n.º 1
0
 private static RouteValueDictionary GetRouteValues(IUrlNamedLocation location)
 {
     return(new RouteValueDictionary
     {
         { LocationKey, location.GetUrlSegment(JobAdsRoutes.SegmentSuffix) }
     });
 }
Exemplo n.º 2
0
 private static RouteValueDictionary GetRouteValues(IUrlNamedLocation location, Salary salary)
 {
     return(new RouteValueDictionary
     {
         { SalaryKey, salary.GetUrlSegment(CandidatesRoutes.SegmentSuffix) },
         { LocationKey, location.GetUrlSegment(CandidatesRoutes.SegmentSuffix) }
     });
 }
Exemplo n.º 3
0
 private static RouteValueDictionary GetRouteValues(Industry industry, IUrlNamedLocation location, int page)
 {
     return(new RouteValueDictionary
     {
         { IndustryKey, industry.GetUrlSegment(JobAdsRoutes.SegmentSuffix) },
         { LocationKey, location.GetUrlSegment(JobAdsRoutes.SegmentSuffix) },
         { PageKey, page }
     });
 }