Example #1
0
 private string GetFilePath(AreaImage image)
 {
     return Path.Combine(ImagesDirectory, image.Id.ToString() + "." + image.FileName.Split('.').Last());
 }
Example #2
0
 public static string GetImage(AreaImage image)
 {
     return GetUri("images", image.Id + "." + image.FileName.Split('.').Last());
 }