예제 #1
0
 public virtual string FormatManufacturerPageUrl(string baseUrl, ManufacturerItem manufacturer)
 {
     return($"{baseUrl}/{manufacturer.UniqueName}");
 }
예제 #2
0
 public virtual string GetManufacurerPageUrl(ManufacturerItem manufacturer)
 {
     return(FormatManufacturerPageUrl("http://mysite/manufacturers/", manufacturer));
 }