/**
  * @param StockStatusInterface $stockStatus
  * @return StockStatusInterface
  * @throws CouldNotSaveException
  */
 public function save(StockStatusInterface $stockStatus)
 {
     try {
         $this->resource->save($stockStatus);
     } catch (\Exception $exception) {
         throw new CouldNotSaveException(__('Unable to save Stock Status'), $exception);
     }
     return $stockStatus;
 }
 /**
  * @param StockStatusInterface $stockStatus
  * @return StockStatusInterface
  * @throws CouldNotSaveException
  */
 public function save(StockStatusInterface $stockStatus)
 {
     try {
         $this->resource->save($stockStatus);
     } catch (\Exception $exception) {
         throw new CouldNotSaveException(__($exception->getMessage()));
     }
     return $stockStatus;
 }