public static string FileResourceUrlScaledThumbnail(this FileResourceInfo fileResourceInfo, int maxHeight)
 {
     return(SitkaRoute <FileResourceController> .BuildUrlFromExpression(x => x.GetFileResourceResized(fileResourceInfo.GetFileResourceGUIDAsString(), maxHeight, maxHeight)));
 }
 public static string GetFileResourceUrlScaledForPrint(this FileResourceInfo fileResourceInfo)
 {
     return(SitkaRoute <FileResourceController> .BuildUrlFromExpression(x =>
                                                                        x.GetFileResourceResized(fileResourceInfo.GetFileResourceGUIDAsString(), 500, 500)));
 }
 public static string GetFileResourceUrl(this FileResourceInfo fileResourceInfo)
 {
     return(FileResourceByGuidUrlTemplate.ParameterReplace(fileResourceInfo.GetFileResourceGUIDAsString()));
 }