Пример #1
0
 public void DPICurBio()
 {
     var dpiCtx = new TTI.DAL.Repository.nHibernate.CurBioRepository();
     var players = dpiCtx.GetPlayersByClub("COL");
     Assert.IsNotNull(players);
     Assert.IsTrue(players.Count > 0);
     Console.WriteLine(players.First().PlayerId + " " + players.First().Name + " " + players.First().Pos);
 }
Пример #2
0
 public void DPIGetClubs()
 {
     var ctx = new TTI.DAL.Repository.nHibernate.CurBioRepository();
     var clubs = ctx.GetClubs();
     Assert.IsNotNull(clubs);
     Assert.IsTrue(clubs.Count > 0);
     foreach (var item in clubs)
     {
         Console.WriteLine(item);
     }
 }