Esempio n. 1
0
        public ActionResult Index()
        {
            TeamPlayerStorage teamPlayerStorage = new TeamPlayerStorage();
            var model = new MainPageViewModel();

            model.TeamPlayer = teamPlayerStorage.GetAllPlayers(1);
            TeamDataStorage teamDataStorage = new TeamDataStorage();

            model.teamData = teamDataStorage.GetTeamData(1);
            return(View(model));
        }
Esempio n. 2
0
 public TeamPlayerLogic()
 {
     teamPlayerStorage = new TeamPlayerStorage();
 }