예제 #1
0
        public void Update(LotDto lot)
        {
            var orm = _lotRepository.GetById(lot.LotId);

            orm = lot.ToDal(orm);
            _lotRepository.Update(orm);
        }
예제 #2
0
 public LotDto AddItem(LotDto lot)
 {
     return(_lotRepository.Create(lot.ToDal()).ToDto());
 }