public IActionResult PostNewTransfer(Transfer userEntry, String accountTransmitter, String accountReceiver) { if (_dal.NewTransfer(userEntry, accountTransmitter, accountReceiver) == null) { return(BadRequest()); } else { return(Ok()); } }
public IActionResult PostNewTransfer(Transfer userEntry, String accountTransmitter, String accountReceiver) { if (_dal.NewTransfer(userEntry, accountTransmitter, accountReceiver) == null) { return(BadRequest()); } else { return(Ok()); } }