public ManageController(ApplicationUserManager userManager, ApplicationSignInManager signInManager)
 {
     UserManager   = userManager;
     SignInManager = signInManager;
     _context      = new NashGamingContext();
     _repo         = new NashGamingRepository();
 }
예제 #2
0
 public HomeController()
 {
     _context = new NashGamingContext();
     _repo    = new NashGamingRepository();
 }
 public ProfileController()
 {
     _repo    = new NashGamingRepository();
     _context = new NashGamingContext();
 }
예제 #4
0
        public void RepositoryTestsEnsureICanCreateAnInstance()
        {
            NashGamingContext context = _context.Object;

            Assert.IsNotNull(context);
        }
예제 #5
0
 public AccountController()
 {
     _repo    = new NashGamingRepository();
     _context = new NashGamingContext();
 }