public DeliveryLineViewModel(ProductViewModel _product, int _amount) { Product = _product; Amount = _amount; }
public DeliveryLineViewModel(DeliveryLine _deliveryLine) { Product = new ProductViewModel(_deliveryLine.Product); Amount = _deliveryLine.Amount; }