public async Task <ActionResult <List <Restorani_Result> > > GetRestorani()
        {
            List <Restorani> restorani = await context.Restorani.Include(x => x.Vlasnik).Include(y => y.Blok.Grad).ToListAsync();

            if (restorani == null)
            {
                return(NotFound());
            }

            return(Ok(Restorani_Result.GetRestoraniResultInstance(restorani)));
        }
        public async Task <ActionResult <Restorani_Result> > GetRestoranById(int restoranId)
        {
            Restorani restoran = await context.Restorani.Include(x => x.Vlasnik).Include(y => y.Blok.Grad).Where(x => x.RestoranId == restoranId).FirstOrDefaultAsync();

            if (restoran == null)
            {
                return(NotFound());
            }

            return(Ok(Restorani_Result.GetRestoraniResultInstance(restoran)));
        }
        public async Task <ActionResult <List <Restorani_Result> > > GetFavourite(int korisnikId)
        {
            List <Restorani> restorani = await context.RestoraniOmiljeni.Where(X => X.KorisnikId == korisnikId).Select(x => x.Restoran).Include(x => x.Blok.Grad).Include(x => x.Vlasnik).ToListAsync();

            return(Ok(Restorani_Result.GetRestoraniResultInstance(restorani)));
        }