protected ReplenishmentItemDto BuildNonUrgentReplenishmentItemDto(DateTime nextReplenishmentDate) { var itemDto = new ReplenishmentItemDto() { Id = 3, Name = "Yoghurt", NextReplenishmentDate = nextReplenishmentDate, ReplenishmentDate = new DateTime(2020, 10, 01) }; return itemDto; }
protected ReplenishmentItemDto BuildUrgentReplenishmentItemDto(DateTime nextReplenishmentDate) { var itemDto = new ReplenishmentItemDto() { Id = 1, Name = "Popcorn", NextReplenishmentDate = nextReplenishmentDate, ReplenishmentDate = new DateTime(2020, 10, 01) }; return itemDto; }
protected ReplenishmentItemDto BuildItemDtoWithReplenishmentOnFirstReplDate(DateTime nextReplenishmentDate) { var itemDto = new ReplenishmentItemDto() { Id = 2, Name = "Brownies", NextReplenishmentDate = nextReplenishmentDate, ReplenishmentDate = new DateTime(2020, 10, 01) }; return itemDto; }
protected ReplenishmentItemDto BuildOutOfShoppingListReplenishmentItemDto(DateTime nextReplenishmentDate) { var itemDto = new ReplenishmentItemDto() { Id = 4, Name = "Oranges", NextReplenishmentDate = nextReplenishmentDate, ReplenishmentDate = new DateTime(2020, 10, 01) }; return itemDto; }