/// <summary> /// Prepare return request action search model /// </summary> /// <param name="searchModel">Return request action search model</param> /// <returns>Return request action search model</returns> public virtual Task <ReturnRequestActionSearchModel> PrepareReturnRequestActionSearchModelAsync(ReturnRequestActionSearchModel searchModel) { if (searchModel == null) { throw new ArgumentNullException(nameof(searchModel)); } //prepare page parameters searchModel.SetGridPageSize(); return(Task.FromResult(searchModel)); }
/// <summary> /// Prepare return request action search model /// </summary> /// <param name="searchModel">Return request action search model</param> /// <returns>Return request action search model</returns> public virtual ReturnRequestActionSearchModel PrepareReturnRequestActionSearchModel(ReturnRequestActionSearchModel searchModel) { if (searchModel == null) { throw new ArgumentNullException(nameof(searchModel)); } //prepare page parameters searchModel.SetGridPageSize(); return(searchModel); }