Esempio n. 1
0
 public CRUD2Controller(IRepository <button> funcObject, IRepository <menu> module,
                        IRepository <role_button_forbid> roleFuncObjForbid, IRepository <role_menu> roleModule,
                        IRepository <role> role, IRepository <permission_user> user,
                        IRepository <user_role> userRole, IRepository <role_group> roleGroup, IRepository <user_group> userGroup,
                        IRepository <role_group_relation> roleGroupRelation, IRepository <user_group_relation> userGroupRelation, IPermmisionService iPermmisionService, IRepository <orgnization> orgnization, IRepository <orgnization_position> orgnizationPosition, IRepository <orgnization_type> orgnizationType, IRepository <position> position, IRepository <position_type> positionType, IRepository <user_orgnization> userOrgnization, IRepository <user_position> userPosition)
 {
     _button              = funcObject;
     _menu                = module;
     _roleFuncObjForbid   = roleFuncObjForbid;
     _role_menu           = roleModule;
     _role                = role;
     _user                = user;
     _userRole            = userRole;
     _roleGroup           = roleGroup;
     _userGroup           = userGroup;
     _roleGroupRelation   = roleGroupRelation;
     _userGroupRelation   = userGroupRelation;
     _iPermmisionService  = iPermmisionService;
     _orgnization         = orgnization;
     _orgnizationPosition = orgnizationPosition;
     _orgnizationType     = orgnizationType;
     _position            = position;
     _positionType        = positionType;
     _userOrgnization     = userOrgnization;
     _userPosition        = userPosition;
 }
 public PermissionProvider(IPermmisionService permission)
 {
     _permission = new PermissionServices();
 }
Esempio n. 3
0
 public OpenController(IPermmisionService permmisionService, IPermissionProvider permissionProvider)
 {
     _permmisionService  = permmisionService;
     _permissionProvider = permissionProvider;
 }
 public ReportController(IPermmisionService permmisionService, IReportServices reportServices1)
 {
     _permmisionService = permmisionService;
     _reportServices    = reportServices1;
 }
 public Admin2Controller(IPermmisionService permission, IRepository <role> role, IRepository <permission_user> user)
 {
     _permission = permission;
     _role       = role;
     _user       = user;
 }