Exemple #1
0
 public async Task Insert(AdditionalTireStorageServicesBll element)
 {
     _unitOfWork.AdditionalTireStorageServicesUnitOfWork.Insert(TransformAnEntity(element));
     await _unitOfWork.Save();
 }
Exemple #2
0
 private additionalTireStorageServices TransformAnEntity(AdditionalTireStorageServicesBll entity) => Mapper.Map <AdditionalTireStorageServicesBll, additionalTireStorageServices>(entity);
Exemple #3
0
 public async Task Update(AdditionalTireStorageServicesBll elementToUpdate)
 {
     _unitOfWork.AdditionalTireStorageServicesUnitOfWork.Update(TransformAnEntity(elementToUpdate));
     await _unitOfWork.Save();
 }