Exemple #1
0
        public virtual DriverSearchModel PrepareSearchModel(DriverSearchModel searchModel)
        {
            if (null == searchModel)
            {
                throw new ArgumentNullException(nameof(searchModel));
            }

            baseAdminModelFactory.PrepareEnabledOptions(searchModel.AvailableEnabledOptions);

            searchModel.SetGridPageSize();

            return(searchModel);
        }