Esempio n. 1
0
        public async Task <IActionResult> GetUserFavoritePostAsync(int userId, int skip = 0, int limit = 5)
        {
            var result = await _service.GetUserFavoriteProfilesAsync(userId, skip, limit);

            if (!result.Success)
            {
                return(BadRequest(result));
            }

            return(Ok(result));
        }