/// <summary> /// Prepare GDPR request (log) search model /// </summary> /// <param name="searchModel">GDPR request search model</param> /// <returns>GDPR request search model</returns> public virtual GdprLogSearchModel PrepareGdprLogSearchModel(GdprLogSearchModel searchModel) { if (searchModel == null) { throw new ArgumentNullException(nameof(searchModel)); } //prepare request types _baseAdminModelFactory.PrepareGdprRequestTypes(searchModel.AvailableRequestTypes); //prepare page parameters searchModel.SetGridPageSize(); return(searchModel); }