Cleanup of lazy loading code. Made some DTOs use init rather than set to keep it clean.
This commit is contained in:
parent
33515ad865
commit
af35d8aad5
18 changed files with 103 additions and 68 deletions
|
|
@ -4,9 +4,9 @@ namespace API.DTOs
|
|||
{
|
||||
public class MangaFileDto
|
||||
{
|
||||
public string FilePath { get; set; }
|
||||
public int NumberOfPages { get; set; } // TODO: Refactor to Pages
|
||||
public MangaFormat Format { get; set; }
|
||||
public string FilePath { get; init; }
|
||||
public int NumberOfPages { get; init; }
|
||||
public MangaFormat Format { get; init; }
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue