Ignore:
Timestamp:
08/24/22 17:11:52 (2 years ago)
Author:
Danilo <danilo.najkov@…>
Branches:
master
Children:
d86edb7
Parents:
a569b7c
Message:

reviews pagination

File:
1 edited

Legend:

Unmodified
Added
Removed
  • resTools_backend/backend/Controllers/ReviewsController.cs

    ra569b7c r63f5ced  
    1818        }
    1919
     20        [HttpGet]
     21        public async Task<List<ReviewResponse>> GetReviews(int page, int pageSize)
     22        {
     23            return await _reviewService.GetReviews(page, pageSize);
     24        }
     25
     26        [HttpGet("count")]
     27        public async Task<int> GetReviewsCount()
     28        {
     29            return await _reviewService.GetCount();
     30        }
    2031
    2132        [Authorize]
Note: See TracChangeset for help on using the changeset viewer.