Why have to be an entity? In "documentation u wrote simply SendData not self SendData