public IActionResult GetLastRow() { var result = _iPaymentManager.GetLastRow(); if (result == null) { return(BadRequest(new { error = "Can not found Last Data!!" })); } return(Ok(result)); }