protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication,
                                               ApplicationContext applicationContext)
    {
        _keyphraseApiController = new KeyphraseApiController();
        ContentService.Saving  += ContentServiceOnSaving;
        var db = applicationContext.DatabaseContext.Database;

        if (!db.TableExist("keyphrase"))
        {
            db.CreateTable <Keyphrase>(false);
        }
    }
 public KeyphraseTreeController()
 {
     _keyphraseApiController = new KeyphraseApiController();
 }