public async Task <IActionResult> UpdateCurrencyPut([FromBody] CurrencyUpdateList currencyUpdate) { if (currencyUpdate == null) { return(BadRequest()); } await _context.UpdateCurrencyList(currencyUpdate.CurrencyList); await _context.AddCurrenyUpdateRecord(currencyUpdate); return(Ok()); }