public ModuleMenuService(IUnitOfWork unitOfWork, IModuleMenuRepository moduleMenuRepository) { this._moduleMenuRepository = moduleMenuRepository; this._unitOfWork = unitOfWork; this._moduleMenuRepository.UnitOfWork = unitOfWork; }
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; }
public ModuleMenuService(IModuleMenuRepository _moduleMenuRepository) { this._moduleMenuRepository = _moduleMenuRepository; }