public BulkOrderDeedPointEntry(BulkOrderDeedDefinition bulkOrderDeedDefinition, int quantity, bool quality, BulkOrderDeedMaterial material, int points, int pointDifference) { _BulkOrderDeedDefinition = bulkOrderDeedDefinition; Quantity = quantity; Quality = quality; Material = material != null ? material.Name : "None"; Points = points; PointDifference = pointDifference; }
public BulkOrderDeedDefinitionViewModel(BulkOrderDeedDefinition bulkOrderDeedDefinition) { BulkOrderDeedDefinition = bulkOrderDeedDefinition; }