Exemplo n.º 1
0
 private void ComputePercentage(int clientId, Deposit entity)
 {
     if (entity.ValueType == EValueType.PERCENT)
     {
         entity.ComputedPrice = repo.GetCurrentPriceOfTheBooking(entity.Booking.Id, clientId);
     }
 }