Ejemplo n.º 1
0
        public ModuleMenuService(IUnitOfWork unitOfWork, IModuleMenuRepository moduleMenuRepository)
        {
            this._moduleMenuRepository = moduleMenuRepository;
            this._unitOfWork           = unitOfWork;

            this._moduleMenuRepository.UnitOfWork = unitOfWork;
        }
Ejemplo n.º 2
0
        public SysService(IWebConfigRepository webCoifigRepository, IUserRepository userRepository,
                          IServiceRepository serviceRepository, IServiceMethodRepository serviceMethodRepository,
                          IModuleMenuRepository moduleMenuRepository,
                          IUnitOfWork unitOfWork)
        {
            this._userRepository          = userRepository;
            this._webConfigRepository     = webCoifigRepository;
            this._serviceRepository       = serviceRepository;
            this._serviceMethodRepository = serviceMethodRepository;
            this._moduleMenuRepository    = moduleMenuRepository;

            this._moduleMenuRepository.UnitOfWork    = unitOfWork;
            this._serviceRepository.UnitOfWork       = unitOfWork;
            this._serviceMethodRepository.UnitOfWork = unitOfWork;
            this._userRepository.UnitOfWork          = unitOfWork;
            this._webConfigRepository.UnitOfWork     = unitOfWork;
            this._unitOfWork = unitOfWork;
        }
Ejemplo n.º 3
0
 public ModuleMenuService(IModuleMenuRepository _moduleMenuRepository)
 {
     this._moduleMenuRepository = _moduleMenuRepository;
 }