public OrderController(IOrderLogic orderLogic, ICarLogic carLogic, IDetailLogic detailLogic, ReportLogic reportLogic) { _orderLogic = orderLogic; _carLogic = carLogic; _detailLogic = detailLogic; _reportLogic = reportLogic; }
public ReportLogic(IRequestLogic requestLogic, ICarLogic carLogic, IOrderLogic orderLogic, IDetailLogic detailLogic) { this.requestLogic = requestLogic; this.carLogic = carLogic; this.orderLogic = orderLogic; this.detailLogic = detailLogic; }
public FormDetailRequest(IDetailLogic logic) { InitializeComponent(); List <DetailViewModel> list = logic.Read(null); if (list != null) { comboBoxDetail.DisplayMember = "DetailName"; comboBoxDetail.ValueMember = "Id"; comboBoxDetail.DataSource = list; comboBoxDetail.SelectedItem = null; } }
public FormDetails(IDetailLogic logic) { InitializeComponent(); this.logic = logic; }
public FormCarDetail(IDetailLogic logicP) { InitializeComponent(); this.logicP = logicP; }