예제 #1
0
        private void UpdateCollectionCar(CollectionCarDTO carSheet)
        {
            CollectionCar carSheetImport = Mapper.Map <CollectionCar>(carSheet);

            carSheetImport.Status    = Status.Active;
            carSheetImport.UpdatedBy = carSheet.UpdatedBy;
            _collectionCarRepository.Update(carSheetImport);
        }
예제 #2
0
        private void InsertCollectionCar(CollectionCarDTO carSheet)
        {
            CollectionCar carSheetImport = Mapper.Map <CollectionCar>(carSheet);

            carSheetImport.Status    = Status.Active;
            carSheetImport.CreatedBy = carSheet.CreatedBy;
            _collectionCarRepository.Add(carSheetImport);
        }