Exemplo n.º 1
0
        public IHttpActionResult Query(int currentPage, int pageSize)
        {
            BaseRequest <BedFilter> request = new BaseRequest <BedFilter>();

            request.CurrentPage = currentPage;
            request.PageSize    = pageSize;
            var response = service.QueryBed(request);

            return(Ok(response));
        }