Пример #1
0
        public String TantargyLista()
        {
            TantargyListaResponse resp = new TantargyListaResponse();

            try
            {
                resp.TantargyLista = dbmngr.TantargyListaKikero();
                resp.ErrorCode     = 0;
            }
            catch (Exception e)
            {
                resp.ErrorCode    = -1;
                resp.ErrorMessage = e.Message;
            }

            return(JsonConvert.SerializeObject(resp));
        }