public async Task <IActionResult> Get(string customerId) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var invoice = await _transactionProvider.GetAllTransactions(customerId); return(Ok(invoice)); }
public async Task <IActionResult> Get(int customerId) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var dtOs = await _provider.GetAllTransactions(customerId); return(Ok(dtOs)); }