Beispiel #1
0
 private static RouteValueDictionary GetRouteValues(IUrlNamedLocation location)
 {
     return(new RouteValueDictionary
     {
         { LocationKey, location.GetUrlSegment(JobAdsRoutes.SegmentSuffix) }
     });
 }
Beispiel #2
0
 private static RouteValueDictionary GetRouteValues(IUrlNamedLocation location, Salary salary)
 {
     return(new RouteValueDictionary
     {
         { SalaryKey, salary.GetUrlSegment(CandidatesRoutes.SegmentSuffix) },
         { LocationKey, location.GetUrlSegment(CandidatesRoutes.SegmentSuffix) }
     });
 }
Beispiel #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 }
     });
 }