public void Build(IParameterizedViewModel model,
                          string searchString = "", string searchBy = "", string recordsFilter = "",
                          string sortingParam = "",
                          int pageSize        = 10, int pageNumber = 1,
                          int id = 0, bool includeAuthors          = false, bool includeGenres = false, bool IncludeBooks = false,
                          bool IncludeCustomers = false, bool IncludeRentalHistory = false)
        {
            model.Filtering = _parametersFactory.FilteringInstance();
            model.Filtering.SearchString  = searchString;
            model.Filtering.CurrentFilter = searchString;
            model.Filtering.SearchBy      = searchBy;
            model.Filtering.RecordsFilter = recordsFilter;

            model.Sorting = _parametersFactory.SortingInstance();
            model.Sorting.SortingParam = sortingParam;

            model.Paging            = _parametersFactory.PagingInstance();
            model.Paging.PageNumber = pageNumber;
            model.Paging.PageSize   = pageSize;

            model.Options                      = _parametersFactory.OptionsInstance();
            model.Options.Id                   = id;
            model.Options.IncludeAuthors       = includeAuthors;
            model.Options.IncludeGenres        = includeGenres;
            model.Options.IncludeBooks         = IncludeBooks;
            model.Options.IncludeCustomers     = IncludeCustomers;
            model.Options.IncludeRentalHistory = IncludeRentalHistory;
        }