public PlayersController()
 {
     _entities = new KSULaxEntities();
     _playerBL = new PlayerBL(_entities);
     _gameBL   = new GameBL(_entities);
     _awardBL  = new AwardBL(_entities);
 }
Example #2
0
        public MainForm()
        {
            users  = new UserBL();
            awards = new AwardBL();
            InitializeComponent();

            //
            this.Visible = false;
        }
Example #3
0
        public UserForm(User user, AwardBL awards)
        {
            InitializeComponent();

            this.firstName  = user.FirstName;
            this.lastName   = user.LastName;
            this.birthdate  = user.Birthdate;
            this.userAwards = user.Awards;
            this.awards     = awards.GetList();

            createNew = false;
        }
Example #4
0
 public UserForm(AwardBL awards)
 {
     InitializeComponent();
     this.awards = awards.GetList();
 }
Example #5
0
 public Form1()
 {
     users  = new UserBL();
     awards = new AwardBL();
     InitializeComponent();
 }