private IFrontUserManagementService _userService;         //企业帐号管理  增删改查  frontuser表

        public FrontUserController()
        {
            _entService      = Ioc.GetService <IEnterpriseManagementService>();
            _entRoleServie   = Ioc.GetService <IEnterpriseRoleManagementService>();
            _userRoleService = Ioc.GetService <IFrontUserRoleManagementService>();
            _userService     = Ioc.GetService <IFrontUserManagementService>();
        }
예제 #2
0
 public EnterpriseUserController()
 {
     _userService        = Ioc.GetService <IEnterpriseUserManagementService>();
     _entRoleService     = Ioc.GetService <IEnterpriseRoleManagementService>();
     _entUserRoleService = Ioc.GetService <IFrontUserRoleManagementService>();
     _entDepartService   = Ioc.GetService <IEnterpriseDepartmentManagementService>();
 }