Beispiel #1
0
        public void EditTradeCode(TradeCode st)
        {
            var Prop = _stockMarketUnitOfWork.TradeCodeRepository.GetById(st.Id);

            Prop.Id         = st.Id;
            Prop.trade_code = st.trade_code;
            _stockMarketUnitOfWork.Save();
        }
Beispiel #2
0
 public void CreateTradeCode(TradeCode sm)
 {
     _stockMarketUnitOfWork.TradeCodeRepository.Add(sm);
     _stockMarketUnitOfWork.Save();
 }