...
This commit is contained in:
@@ -10,6 +10,7 @@ namespace Shared.DTOs
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public string Name { get; set; }
|
||||
public decimal TotalPrice { get { return promotionDetails==null ? 0 : promotionDetails.Sum(s => s.TPrice); } }
|
||||
public ICollection<PromotionDetailDto> promotionDetails { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user