def import
        ActiveRecord::Base.transaction do
          Comable::Stock.import_from(params[:file])
        end
        redirect_to comable.admin_stocks_path, notice: Comable.t('successful')