/// <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;
        }
예제 #2
0
        /// <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;
        }
예제 #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 public MenuRightsService(IMenuRightRepository menuRightRepository, IMenuRepository menuRepository)
 {
     this.menuRightRepository = menuRightRepository;
     this.menuRepository      = menuRepository;
 }
예제 #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 public MenuRightsService(IMenuRightRepository menuRightRepository, IMenuRepository menuRepository)
 {
     this.menuRightRepository = menuRightRepository;
     this.menuRepository = menuRepository;
 }