示例#1
0
 public EditSaveBackend Init(int appId, ILog log)
 {
     Init(log);
     _appId = appId;
     // The context should be from the block if there is one, because it affects saving/publishing
     // Basically it can result in things being saved draft or titles being updated
     _context = _ctxResolver.BlockOrNull() ?? _ctxResolver.App(appId); // context;
     _pagePublishing.Init(_context, Log);
     return(this);
 }