public async Task <IActionResult> SnimiPodatke(AdminDetaljiIzmjena model)
        {
            var request  = _mapper.Map <KorisnikUpdateInfoRequest>(model);
            var response = await _restoranApi.LicneInformacije(request);

            if (response.IsSuccessStatusCode)
            {
                return(Redirect("/Administrator/Ponuda/Index"));
            }

            return(Redirect(nameof(PromjenaPodataka)));
        }
        public async Task <IActionResult> PromjenaPodataka()
        {
            var response = await _restoranApi.Me();

            var gradResponse = await _restoranApi.GetGradAsync();

            AdminDetaljiIzmjena model = _mapper.Map <AdminDetaljiIzmjena>(response.Content);

            model.Gradovi = gradResponse.Content.Data.Select
                            (
                i => new SelectListItem()
            {
                Text  = i.Naziv,
                Value = i.ID.ToString()
            }
                            ).ToList();

            return(View(model));
        }