public void OtelePuanVer(int puan, Otel otel)
        {
            otel.oySayisi += 1;

            otel.otelPuani = (otel.otelPuani * (otel.oySayisi - 1) + puan) / otel.oySayisi;



            otelRepository.OtelGuncelle(otel);
        }
Пример #2
0
 public void OtelBilgiGuncelle(Otel otel)
 {
     otelAgaci.Guncelle(otel);
     otelRepository.OtelGuncelle(otel);
 }