Esempio n. 1
0
 public string UpdateWallet([FromBody] Wallet wallet)
 {
     try
     {
         var stat = (stRepo.UpdateWallet(wallet)) ? "Transaction Inserted into Storage." : "Unable to Insert";
         return(stat);
     }
     catch (Exception ex)
     {
         Console.WriteLine("Exception Occured: {0}", ex.Message);
         return(ex.Message);
     }
 }