private void MainReportViewer_Load(object sender, EventArgs e) { var data = PORepository.GetPOFormPrint(this.id); POHeaderBindingSource.DataSource = data; POProductDetailsBindingSource.DataSource = data.PODetails; this.reportViewer1.RefreshReport(); }
public POsService(PORepository pORepository, JobsRepository jobsRepository, ElementsRepositroy elementsRepositroy) { this.pORepository = pORepository; this.jobsRepository = jobsRepository; this.elementsRepositroy = elementsRepositroy; }