def find_model_class_by(params)
      model_class = Map.model_class_map params[:resources]
      return model_class unless MODEL_ACTIONS.include? params[:action].to_sym
      raise ModelNotFound, params[:resources] unless model_class
      unless Map.mode_map[model_class]
        raise UnprocessableEntity, I18n.t('errors.unprocessable_entity.model', model: model_class)
      end
      model_class
    end
def find_model_class_by(params)
      model_class = Map.model_class_map params[:resources]
      return model_class unless MODEL_ACTIONS.include? params[:action].to_sym
      raise ModelNotFound, params[:resources] unless model_class
      unless Map.mode_map[model_class]
        raise UnprocessableEntity, I18n.t('errors.unprocessable_entity.model', model: model_class)
      end
      model_class
    end
Find out the model class
 @param params [Hash]
 @return [Class]
 @raise [Wallaby::ModelNotFound] when model class is not found
 @raise [Wallaby::UnprocessableEntity] when there is no corresponding mode found for model class