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