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