Ejemplo n.º 1
0
 public async Task <ActionResult <string> > PostCustomerItem([FromBody] Client customer)
 {
     try
     {
         return(new ActionResult <string>(await EntitiesManager.CreateCustomersAsync(this.AuthenticationProvider, customer)));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }