Esempio n. 1
0
        public async Task <List <Clan> > Recommend()
        {
            var LogiraniKorisnikId = (int)HttpContext.GetUserID();

            return(await _RecommendationService.Recommend(LogiraniKorisnikId));
        }
Esempio n. 2
0
        public ActionResult <IEnumerable <Restaurant> > Get(int restaurantId, string city, int recommendationsCount)
        {
            var recommendations = _recommenderService.Recommend(restaurantId, city, recommendationsCount);

            return(Ok(recommendations));
        }