public void Remove(int hookId) { var repo = new Repo { BasePath = BasePath, HookId = hookId }; repo.Remove(); }