public ManageController(ApplicationUserManager userManager, ApplicationSignInManager signInManager) { UserManager = userManager; SignInManager = signInManager; _context = new NashGamingContext(); _repo = new NashGamingRepository(); }
public void Cleanup() { _context = null; _repo = null; _ladderSet = null; }
public void Initialize() { _context = new Mock <NashGamingContext>(); _repo = new NashGamingRepository(_context.Object); _ladderSet = new Mock <DbSet <Ladder> >(); }
public HomeController() { _context = new NashGamingContext(); _repo = new NashGamingRepository(); }
public void Initialize() { _context = new Mock <NashGamingContext>(); _repo = new NashGamingRepository(_context.Object); _matchSet = new Mock <DbSet <NashGaming.Models.Match> >(); }
public void Cleanup() { _context = null; _repo = null; _matchSet = null; }
public void Initialize() { _context = new Mock <NashGamingContext>(); _repo = new NashGamingRepository(_context.Object); _inviteSet = new Mock <DbSet <TeamInvite> >(); }
public void Cleanup() { _context = null; _challengeSet = null; _repo = null; }
public void Initialize() { _context = new Mock <NashGamingContext>(); _repo = new NashGamingRepository(_context.Object); _postSet = new Mock <DbSet <Posts> >(); }
public void Cleanup() { _context = null; _repo = null; _postSet = null; }
public void Cleanup() { _context = null; _repo = null; _leagueSet = null; }
public ProfileController() { _repo = new NashGamingRepository(); _context = new NashGamingContext(); }
public AccountController() { _repo = new NashGamingRepository(); _context = new NashGamingContext(); }
public void Initialize() { _context = new Mock <NashGamingContext>(); _repo = new NashGamingRepository(_context.Object); _teamSet = new Mock <DbSet <MainTeam> >(); }
public void Cleanup() { _context = null; _repo = null; _inviteSet = null; }
public void Cleanup() { _context = null; _repo = null; _teamSet = null; }
public void Initialize() { _context = new Mock <NashGamingContext>(); _challengeSet = new Mock <DbSet <Challenge> >(); _repo = new NashGamingRepository(_context.Object); }