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

            Assert.IsNotNull(context);
        }
Ejemplo n.º 5
0
 public AccountController()
 {
     _repo    = new NashGamingRepository();
     _context = new NashGamingContext();
 }