常用方法
常用方法
常用方法
常用方法
public async Task <IActionResult> GetPaymentAmount() { Guid customerId = Guid.Parse(User.Identity.Name); Customer customer = await _customerService.GetCustomerByIdAsync(customerId); int paymentAmount = await _financeService.GetPaymentAmountForCustomerAsync(customer); return(Ok(paymentAmount)); }