Removed todo controller api function