def get_offset(page_size, page_number):
    """
    Calculate offset for pagination
    :param page_size: Limit
    :param page_number: Page Number
    :return:
    """
    return (page_number - 1) * page_size