Ejemplo n.º 1
0
 public UserService(IOptions <AppSettings> appSettings, IIdentity userIdentity)
 {
     _appSettings = appSettings.Value;
     playerDal    = new PlayerDal();
     if (userIdentity != null)
     {
         messageDal = new MessageDal(int.Parse(userIdentity.Name));
         myPlayer   = playerDal.Get(new Player {
             Id = int.Parse(userIdentity.Name)
         }).GetObject();
     }
 }
Ejemplo n.º 2
0
 private GameBll()
 {
     gameDal   = GameDal.Instance();
     arenaDal  = ArenaDal.Instance();
     playerDal = PlayerDal.Instance();
 }
Ejemplo n.º 3
0
 public PlayersBL()
 {
     playerDal = new PlayerDal();
 }
Ejemplo n.º 4
0
 private PlayerBll()
 {
     playerDal = PlayerDal.Instance();
 }