Removed some dead code on the interfaces. Introduced UnitOfWork to simplify repo injection.

This commit is contained in:
Joseph Milazzo 2021-01-18 13:07:48 -06:00
parent 4a2296a18a
commit 825afd83a2
23 changed files with 165 additions and 204 deletions

View file

@ -30,10 +30,8 @@ namespace API.Entities
/// Sum of all Volume pages
/// </summary>
public int Pages { get; set; }
/// <summary>
/// Total Volumes linked to Entity
/// </summary>
//public int TotalVolumes { get; set; }
// Relationships
public ICollection<Volume> Volumes { get; set; }
public Library Library { get; set; }
public int LibraryId { get; set; }