public IHttpActionResult Query(int currentPage, int pageSize, DateTime?sDate, DateTime?eDate) { var request = new BaseRequest <NoticeFilter> { CurrentPage = currentPage, PageSize = pageSize, Data = { SDate = sDate, EDate = eDate, OrgId = SecurityHelper.CurrentPrincipal.OrgId } }; var response = service.QueryNotices(request); return(Ok(response)); }