protected virtual async Task UpdateAsync(CreateOrEditInput input) { var menuItemDefine = await _menuRepository.GetSingleMenuItemDefine(input.Id); if (menuItemDefine != null) { menuItemDefine.DisplayName = input.Name; menuItemDefine.ParentMenuGuid = input.PId; menuItemDefine.Name = _converter.Converter(menuItemDefine.DisplayName); await _menuRepository.UpdateAsync(menuItemDefine); } }