public SmRoleProvider() { this._dbContext = new SmDbContext(); this._userService = new SmUserService <SmUser>(this._dbContext); this._roleService = new SmRoleService <SmRole>(this._dbContext); this._userRoleService = new SmUserRoleService <SmUserRole>(this._dbContext); }
public SmRoleProvider() { this._dbContext = new MyDBContext(); this._userService = new SmUserService<SmUser>(this._dbContext); this._roleService = new SmRoleService<SmRole>(this._dbContext); this._userRoleService = new SmUserRoleService<SmUserRole>(this._dbContext); }