public override void ExpandView(MixCmsContext _context = null, IDbContextTransaction _transaction = null) { var getCategory = MixPages.ReadListItemViewModel.Repository.GetSingleModel(p => p.Id == Id && p.Specificulture == Specificulture , _context: _context, _transaction: _transaction ); if (getCategory.IsSucceed) { Page = getCategory.Data; } }
public override void ExpandView(MixCmsContext _context = null, IDbContextTransaction _transaction = null) { Page = MixPages.ReadListItemViewModel.Repository.GetSingleModel(p => p.Id == PageId && p.Specificulture == Specificulture, _context, _transaction).Data; }