Пример #1
0
 public async Task <Customer> AddCustomer(string name)
 {
     return(await _customerDataService.AddCustomer(name));
 }
Пример #2
0
 public IActionResult AddCustomer(string data)
 {
     return(Ok(_customerDataService.AddCustomer(data)));
 }