public async Task <string> PutTransaction(int id, int cash) { var strData = await Task.Run(() => { return(JsonConvert.SerializeObject(parking.AddCash(id, cash))); }); return(strData); }