❔ How to return image url in response ?

public class Picture : BaseEntity { public string Name { get; set; } public int? Width { get; set; } public int? Height { get; set; } public DateTime? AddedAt { get; set; } = DateTime.Now; } public class PictureResponse { public string URL { get; set; } public int? Height { get; set; } public int? Width { get; set; } public DateTime? AddedAt { get; set; } = DateTime.Now; } how to map imagename to complete path eg. api/images/someiamge.png ? or how should i even do that ?
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server