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)); } }