Пример #1
0
        public async Task <string> PutTransaction(int id, int cash)
        {
            var strData = await Task.Run(() =>
            {
                return(JsonConvert.SerializeObject(parking.AddCash(id, cash)));
            });

            return(strData);
        }