public ProductionLineHub() { Action <string> dispatcher = (messages) => { SendProductionLine(messages); }; ProductionLineRepository.GetInstance(dispatcher); }
private readonly ProductionLineRepository productionLineRepository; // table public ProductionLineBusiness(IProductionUnitOfWork productionDb) { this._productionDb = productionDb; productionLineRepository = new ProductionLineRepository(this._productionDb); }
public Task <List <ProductionLine> > GetProductionLineDetails() { ProductionLineRepository obj = new ProductionLineRepository(); return(obj.GetDataResultRecords()); }