Example #1
0
        //private readonly IFieldsMgrRepository _fieldRepository;

        //private readonly IDBStructOperateRepository _structOperateRepository;

        //private readonly IRepository<MenuStatus> _menuStatusRepository;


        public MenuMgrAppService(IMenuMgrRepository menuRepository)
        {
            _menuRepository = menuRepository;
            //_converter = new PinYinConverter();
            //_fieldRepository = fieldRepository;
            //_structOperateRepository = structOperateRepository;
            //_menuStatusRepository = menuStatusRepository;
        }
Example #2
0
 public MenuMgrAppService(IMenuMgrRepository menuRepository, IFieldsMgrRepository fieldRepository,
                          IDBStructOperateRepository structOperateRepository,
                          IRepository <MenuStatus> menuStatusRepository)
 {
     _menuRepository          = menuRepository;
     _converter               = new PinYinConverter();
     _fieldRepository         = fieldRepository;
     _structOperateRepository = structOperateRepository;
     _menuStatusRepository    = menuStatusRepository;
 }