public TeamsController(ITeamRepo teamRepo, UserManager <ApplicationUser> userManager, ISupervisorRepo supervisorRepo) { _teamRepo = teamRepo; _userManager = userManager; _supervisorRepo = supervisorRepo; // _context = context; }
public RegionalVotesController(ISchoolRepo schoolRepo, IPlayerRepo playerRepo, ITeamRepo TeamRepo, IRegionalVoteRepo iRegionalVoteRepo) { this.iSchoolRepo = schoolRepo; this.iPlayerRepo = playerRepo; this.iTeamRepo = TeamRepo; this.iRegionalVoteRepo = iRegionalVoteRepo; }
public MainWindow() { //if (WorldCup.Net.Configuration.Exists()) //{ // WorldCup.Net.Configuration.ReadConfigurationFromText(false); // if (Net.Configuration.AppLanguage==Configuration.Language.Croatian) // { // TranslationSource.Instance.CurrentCulture = System.Globalization.CultureInfo.CreateSpecificCulture("hr"); // } // else // { // TranslationSource.Instance.CurrentCulture = System.Globalization.CultureInfo.CreateSpecificCulture(""); // } //} //else //{ //} repo = RepoFactory.GenerateRepo(); InitializeComponent(); }
public PlayersController(IPlayerRepo playerRepo, ISchoolRepo schoolRepo, ITeamRepo teamRepo, ITeamPlayerRepo iTeamPlayerRepo) { this.iPlayerRepo = playerRepo; this.iSchoolRepo = schoolRepo; this.iTeamRepo = teamRepo; this.iTeamPlayerRepo = iTeamPlayerRepo; }
public Form1() { InitializeComponent(); repo = RepoFactory.GenerateRepo(); SetupPanelsDragAndDrop(new List <FlowLayoutPanel> { pnlPlayers, pnlFavoritePlayers }); }
public PlayerController(IPlayerRepo playerRepo, ITeamRepo teamRepo) { //if (Mode == "DB") //{ // _playerRepo = new PlayersRepo(); // _teamRepo = new TeamRepo(); //} //else //{ // _playerRepo = new PlayerMockRepo(); //} _playerRepo = playerRepo; _teamRepo = teamRepo; }
public TeamService(ITeamRepo repo) { _repo = repo; }
public PlayerService(IPlayerRepo repo, ITeamRepo teamRepo) { _repo = repo; _teamRepo = teamRepo; }
public PlayerController(IPlayerRepo playerRepo, ITeamRepo teamRepo) { _playerRepo = playerRepo; _teamRepo = teamRepo; }
public TeamManager(IAppUserRepo appUserRepo, ITeamRepo teamRepo, ITeamUserRepo teamUserRepo, IDependencyManager depManager, ISecurity security, IAdminLogger logger, IAppConfig appConfig) : base(logger, appConfig, depManager, security) { _appUserRepo = appUserRepo; _teamRepo = teamRepo; _teamUserRepo = teamUserRepo; }
public TeamService() { teamRepo = new TeamRepo(); }
public TeamService(ITeamRepo repo) { this.repo = repo; }
//reomve dbcon and use existing method in others repo public TeamService(ITeamRepo _teamRepo) { this._teamRepo = _teamRepo; }
public TeamController(ITeamRepo repository, IMapper mapper) { _repository = repository; _mapper = mapper; }