Exemple #1
0
        public async Task <IActionResult> GetForPagination(string location, UserLevel level, int index, int size)
        {
            var userId = GetUserId();
            var count  = await _userInformationService.CountPartnerFinders(userId, location, level);

            var partnerFinders = await _userInformationService.GetPartnerFinders(userId, location, level, index, size);

            return(Ok(new { partnerFinders, count }));
        }