public ITask UpdateLocks() { var task = GitClient.ListLocks(false) .Then(locks => { GitLocksUpdated?.Invoke(locks); }); return(HookupHandlers(task, false)); }