public function put(RequestCollection $data)
    {
        $this->store($data->onlyDiff());
        $this->delete($data->onlyToDelete());
    }
public function put(RequestCollection $data)
    {
        $this->store($data->onlyDiff());
        $this->delete($data->onlyToDelete());
    }
public function put ( RequestCollection $ data ) { $ this -> store ( $ data -> onlyDiff ( ) ) ; $ this -> delete ( $ data -> onlyToDelete ( ) ) ; }
Put data to resource.

@param $data RequestCollection
@return void
Put data to resource .