public Instruments SelectInstrumentsLogicMap(instrumentsBLO _SelectInstrumentLogic) { Instruments LogicToReturn = new Instruments(); { Instruments _instrumentLogicView = new Instruments(); _instrumentLogicView.Instruments_ID = _SelectInstrumentLogic.Instruments_ID; _instrumentLogicView.InstrumentName = _SelectInstrumentLogic.InstrumentName; _instrumentLogicView.InstrumentDescription = _SelectInstrumentLogic.InstrumentDescription; _instrumentLogicView.InstrumentPrice = _SelectInstrumentLogic.InstrumentPrice; _instrumentLogicView.InstrumentsQuantity = _SelectInstrumentLogic.InstrumentsQuantity; } return(LogicToReturn); }
public instrumentsBLO SingleInstrumentsLogicMap(Instruments _SingleInstrumentLogic) { instrumentsBLO LogicToReturn = new instrumentsBLO(); { instrumentsBLO _instrumentsLogicView = new instrumentsBLO(); _instrumentsLogicView.Instruments_ID = _SingleInstrumentLogic.Instruments_ID; _instrumentsLogicView.InstrumentName = _SingleInstrumentLogic.InstrumentName; _instrumentsLogicView.InstrumentDescription = _SingleInstrumentLogic.InstrumentDescription; _instrumentsLogicView.InstrumentPrice = _SingleInstrumentLogic.InstrumentPrice; _instrumentsLogicView.InstrumentsQuantity = _SingleInstrumentLogic.InstrumentsQuantity; } return(LogicToReturn); }