public UserSearchResult SearchUsers([FromBody] SearchUserParameters searchData) { AdefHelpDeskBase.Models.SearchParameters objSearchParameters = new Models.SearchParameters(); objSearchParameters.pageNumber = searchData.pageNumber; objSearchParameters.rowsPerPage = searchData.rowsPerPage; objSearchParameters.searchString = searchData.searchString; return(UserManagerController.SearchUsersMethod(objSearchParameters, GetConnectionString())); }
public SystemLogSearchResult SystemLogs([FromBody] SearchLogParameters objSearchLogParameters) { string strCurrentUser = this.User.Claims.FirstOrDefault().Value; AdefHelpDeskBase.Models.SearchParameters SearchParameters = new Models.SearchParameters(); SearchParameters.searchString = objSearchLogParameters.searchString; SearchParameters.pageNumber = objSearchLogParameters.pageNumber; SearchParameters.rowsPerPage = objSearchLogParameters.rowsPerPage; return(SystemLogController.SystemLogsMethod(SearchParameters, strCurrentUser, GetConnectionString())); }