public RadaCodeWebManagementController(RadaCodeWebStoreContext context, IRadaCodeWebSettings settings, WebUserMembershipProvider membershipProvider, WebUserRoleProvider roleProvider)
 {
     _context = context;
     _settings = settings;
     _membershipProvider = membershipProvider;
     _roleProvider = roleProvider;
 }
        public WebUserAccountCreationTests()
        {
            var context = new RadaCodeWebStoreContext();

            var initializer = new RadaCodeWebStoreContextInitializer();
            initializer.InitializeDatabase(context);

            _repo = new WebUserRepository(context);

            _context = context;
        }
 public WebUserRepository()
 {
     _db = new RadaCodeWebStoreContext();
 }
示例#4
0
 public ActivityBrocker(RadaCodeWebStoreContext context)
 {
     _context = context;
 }
 public PortfolioController(RadaCodeWebStoreContext context, IRadaCodeWebSettings settings)
 {
     _context = context;
     _settings = settings;
 }
 public WebUserRepository(RadaCodeWebStoreContext context)
 {
     _db = context;
     _db.WebUsers.ToList();
 }