def METHOD_NAME(args):
    """
    Helper that helps us render the REST Api responses.
    :param args:
    :return:
    """
    query = database.session_query(DnsProvider)
    return database.sort_and_page(query, DnsProvider, args)