/**
  * POST /api/v1/currencies
  * Create a new currency
  *
  * @param Api_Dto_Currency $dto
  * @return Api_Controller_Response_Result
  */
 public function postAction(Api_Dto_Currency $dto)
 {
     $currency = $this->_service->create($dto);
     $meta = $this->_createMeta(1);
     $meta->addParam('rate', $currency->getRate());
     return $this->_createResult([['id' => $currency->getId()]], $meta)->setLocation($this->_getUrl() . $currency->getId());
 }