public AuthRepository()
 {
     _ctx = new NotificacionesContext();
     var store = new UserStore<ApplicationUser>(_ctx);
     _userManager = new UserManager<ApplicationUser>(store);
     _roleManaller = new RoleManager<IdentityRole>(new RoleStore<IdentityRole>(_ctx));
 }
Пример #2
0
        public AuthRepository()
        {
            _ctx = new NotificacionesContext();
            var store = new UserStore <ApplicationUser>(_ctx);

            _userManager  = new UserManager <ApplicationUser>(store);
            _roleManaller = new RoleManager <IdentityRole>(new RoleStore <IdentityRole>(_ctx));
        }
 public ClienteRepository()
 {
     _ctx = new NotificacionesContext();
 }
Пример #4
0
 public NotificacionesRepository()
 {
     _ctx        = new NotificacionesContext();
     clienteRepo = new ClienteRepository();
 }