public List <Menu> ListMenuByText(string searchString) { if (searchString != null) { return(_menuAdminRepository.GetMenusByText(searchString)); } return(_menuAdminRepository.GetListMenu()); }
public List <Menu> ListMenu() { return(_menuAdminRepository.GetListMenu()); }