示例#1
0
 public FrmProfileInfo(IPrivilegeBLL privilegeBLL, IProfileBLL profileBLL, UserPrincipal currentUser)
 {
     this.privilegeBLL = privilegeBLL;
     this.profileBLL   = profileBLL;
     this.currentUser  = currentUser;
     InitializeComponent();
 }
示例#2
0
 public ProfileController(UserManager <ApplicationUser> userManager, IApplicationUserService applicationUserService, IUploadService uploadService, IProfileBLL profileBLL)
 {
     _userManager            = userManager;
     _applicationUserService = applicationUserService;
     _uploadService          = uploadService;
     _profileBLL             = profileBLL;
 }
示例#3
0
        public FrmMain()
        {
            InitializeComponent();
            this.currentUser = new UserPrincipal();

            this.context = new IISEntities();

            this.sysViewBLL = new SysViewBLL(this.context);

            this.userManagementBLL        = new UserManagementBLL(this.context);
            this.userManagementClassicBLL = new UserManagementClassicBLL(this.context);

            this.profileBLL   = new ProfileBLL(this.context);
            this.roleBLL      = new RoleBLL(this.context);
            this.privilegeBLL = new PrivilegeBLL(this.context);
        }
 public ProfileController(IProfileBLL profile)
 {
     this._profile = profile;
 }
示例#5
0
 public AdminController(IAdminBLL adminBLL, IPostBLL postBLL, IProfileBLL profileBLL)
 {
     _adminBLL   = adminBLL;
     _postBLL    = postBLL;
     _profileBLL = profileBLL;
 }
 public ProfileController(IProfileBLL _profilebll)
 {
     this.profileBLL = _profilebll;
 }
示例#7
0
 public FrmProfileInfo(IProfileBLL profileBLL, Profile profile)
 {
     this.profileBLL = profileBLL;
     this.profile    = profile;
     InitializeComponent();
 }
示例#8
0
 public FrmProfile(IProfileBLL profileBLL)
 {
     this.profileBLL = profileBLL;
     InitializeComponent();
 }