Skip to content

Commit

Permalink
Added the parameter to capture if the grocery is onsale or not.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnathan committed Apr 6, 2020
1 parent 67c7851 commit b12aadb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Models/GroceryPurchasedModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ public class GroceryPurchasedModel : IGroceryPurchasedModel
public string grocery { get; set; }
public decimal quantity { get; set; }
public DateTime date { get; set; }
public bool onsale { get; set; }
}
}
1 change: 1 addition & 0 deletions Models/IGroceryPurchasedModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ public interface IGroceryPurchasedModel : IGroceryModel
decimal totalprice { get; set; }
string store { get; set; }
DateTime date { get; set; }
bool onsale { get; set; }
}
}

0 comments on commit b12aadb

Please sign in to comment.