예제 #1
0
 public IActionResult UpdateRecord([FromBody] Ledger aObject)
 {
     if (aObject == null)
     {
         return(BadRequest());
     }
     LedgerRepo.Update(aObject);
     return(Ok(aObject));
 }