Implemented the ability to send images to frontend with some contextual information.

This commit is contained in:
Joseph Milazzo 2021-01-08 15:17:39 -06:00
parent 7ab7e8acc4
commit 7bf04dcdac
6 changed files with 74 additions and 10 deletions

13
API/DTOs/ImageDto.cs Normal file
View file

@ -0,0 +1,13 @@
namespace API.DTOs
{
public class ImageDto
{
public int Page { get; set; }
public string Filename { get; init; }
public string FullPath { get; init; }
public int Width { get; init; }
public int Height { get; init; }
public string Format { get; init; }
public byte[] Content { get; init; }
}
}