public DeleteDeliveryFromOrderProductViewModel(OrderProduct orderProduct, int deliveryId) { OrderProduct = new OrderProductViewModel(orderProduct); DeliveryId = deliveryId; }
public DeleteAddressFromOrderProductViewModel(OrderProduct orderProduct, Address address) { OrderProduct = new OrderProductViewModel(orderProduct); Address = new AddressViewModel(address); }
public DeleteMaterialFromOrderProductViewModel(OrderProduct orderProduct, Material material) { OrderProduct = new OrderProductViewModel(orderProduct); Material = new MaterialViewModel(material); }