Ejemplo n.º 1
0
        public async Task Update(TireChangeServiceBll elementToUpdate)
        {
            tireChangeService tireChange = Mapper.Map <TireChangeServiceBll, tireChangeService>(elementToUpdate);

            _unitOfWork.TireChangeServiceUnitOfWork.Update(tireChange);
            await _unitOfWork.Save();
        }
Ejemplo n.º 2
0
        public async Task Insert(TireChangeServiceBll element)
        {
            tireChangeService tireChange = Mapper.Map <TireChangeServiceBll, tireChangeService>(element);

            _unitOfWork.TireChangeServiceUnitOfWork.Insert(tireChange);
            await _unitOfWork.Save();
        }