Пример #1
0
 public RoleService(IEfCoreRepository <SysRole, int> role, IRoleMenuRepos roleMenu,
                    IEfCoreRepository <SysMenu, int> menu)
 {
     _role     = role;
     _roleMenu = roleMenu;
     _menu     = menu;
 }
Пример #2
0
 public MenuService(IEfCoreRepository <SysMenu, int> menu,
                    IRoleMenuRepos roleMenu,
                    IEfCoreRepository <SysOperate, int> operate)
 {
     _menu     = menu;
     _roleMenu = roleMenu;
     _operate  = operate;
 }
Пример #3
0
 public OperateService(IEfCoreRepository <SysOperate, int> operate, IRoleMenuRepos roleMenu)
 {
     _operate  = operate;
     _roleMenu = roleMenu;
 }
Пример #4
0
 public OperateService(IEfCoreRepository <SysOperate, int> operate, IRoleMenuRepos roleMenu, IMapper mapper)
 {
     _operate  = operate;
     _roleMenu = roleMenu;
     _mapper   = mapper;
 }