public OrderProductPageDriver(UiContext context, OrderView order, OrderProductView orderProduct) : base(context) { this.order = order; this.orderProduct = orderProduct ?? new OrderProductView { Id = -1 }; }
public ProductsPageDriver(UiContext context) : base(context) { }
public OrdersPageDriver(UiContext context) : base(context) { }
public ProductPageDriver(UiContext context, ProductView product) : base(context) { this.product = product ?? new ProductView { Id = -1, Name = "", Price = 0 }; }
protected PageDriver(UiContext context) { this.context = context; ShowErrorMessage = (msg) => { }; ShowInfoMessage = (msg) => { }; }
public OrderPageDriver(UiContext context, OrderView order) : base(context) { this.order = order ?? new OrderView { Id = -1 }; }