Пример #1
0
        public JsonResult VratiRacune()
        {
            var racuni = ExchangeRepository.VratiSveRacuneBlagajne();

            var result = racuni.Select(it => new
            {
                it.SifraValute,
                Stanje = it.Stanje.ToString(CultureInfo.InvariantCulture),
                it.Opis
            }).ToList();

            return(Json(result, JsonRequestBehavior.AllowGet));
        }