//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; }
public MenuMgrAppService(IMenuMgrRepository menuRepository, IFieldsMgrRepository fieldRepository, IDBStructOperateRepository structOperateRepository, IRepository <MenuStatus> menuStatusRepository) { _menuRepository = menuRepository; _converter = new PinYinConverter(); _fieldRepository = fieldRepository; _structOperateRepository = structOperateRepository; _menuStatusRepository = menuStatusRepository; }