@Override
  public ItemDetailsModel saveItemDetails(ItemDetailsModel itemDetailsModel) {
    ItemDetails itemDetails = new ItemDetails();

    itemDetails.setItemDescription(itemDetailsModel.getItemDescription());
    itemDetails.setItemName(itemDetailsModel.getItemName());
    itemDetails.setItemPrice(itemDetailsModel.getItemPrice());

    itemDetailsRepo.save(itemDetails);

    return itemDetailsModel;
  }
  @Override
  public ItemsImagesModel saveItemImageDetails(ItemsImagesModel itemImagesModel, int itemId) {
    ItemDetails itemDetails = itemDetailsRepo.findOne(itemId);

    ItemImagesDetails itemImagesDetails = new ItemImagesDetails();

    itemImagesDetails.setItemDetails(itemDetails);
    itemImagesDetails.setItemImage(itemImagesModel.getItemImage());

    imageDetailsRepo.save(itemImagesDetails);

    return itemImagesModel;
  }