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