Пример #1
0
        public void GetAktifUyeSayisi_3_WithStub()
        {
            var        uyeRepoStub = new UyeRepoStub();
            UyeService uyeService  = new UyeService(uyeRepoStub);
            var        actual      = uyeService.BuaykiUyeSayisi();
            var        expected    = 3;

            Assert.AreEqual(actual, expected);
        }
Пример #2
0
        public void GetBuAykiUyeSayisi_2_WithStub()
        {
            var        uyeRepoStub = new UyeRepoStub();
            UyeService uyeService  = new UyeService(uyeRepoStub);
            var        actual      = uyeService.BuaykiUyeSayisi();
            var        expected    = 2;

            Assert.AreEqual(expected, actual);
        }
Пример #3
0
 private void FillDashBoard()
 {
     lblAktifUye.Text           = uyeService.AktifUyeSayisi().ToString();
     lblAktifYonetici.Text      = yoneticiService.AktifYoneticiSayisi().ToString();
     lblGuncelDonemAidat.Text   = malihareketlerService.GuncelOdenmisAidatMiktar().ToString();
     lblBuAyUyeOlanlar.Text     = uyeService.BuaykiUyeSayisi().ToString();
     lblGuncelOdenmisAidat.Text = malihareketlerService.GuncelOdenmisAidatSayisi().ToString();
     lblGuncelBakiye.Text       = malihareketlerService.GuncelBakiye().ToString();
     lblKasadanCikan.Text       = malihareketlerService.ToplamCikanParaMiktar().ToString();
     lblPlanlananToplanti.Text  = toplantiService.PlanlananToplantiSayisi().ToString();
     lblTamamlananToplanti.Text = toplantiService.TamamlananToplantiSayisi().ToString();
     lblToplananBagis.Text      = malihareketlerService.ToplamOdenmisBagisMiktar().ToString();
     lblToplamOdenenAidat.Text  = malihareketlerService.ToplamOdenmisAidatMiktar().ToString();
 }