/// <summary> /// Constructor /// </summary> public MenuRightsService(IMenuRightRepository menuRightRepository, IMenuRepository menuRepository) { if (menuRightRepository == null) { throw new ArgumentNullException("menuRightRepository"); } if (menuRepository == null) { throw new ArgumentNullException("menuRepository"); } this.menuRightRepository = menuRightRepository; this.menuRepository = menuRepository; }
/// <summary> /// Constructor /// </summary> public MenuRightsService(IMenuRightRepository menuRightRepository, IMenuRepository menuRepository) { this.menuRightRepository = menuRightRepository; this.menuRepository = menuRepository; }