public async Task <IActionResult> Post([FromBody] ClientApiDto client) { var clientDto = client.ToClientApiModel <ClientDto>(); await _clientService.AddClientAsync(clientDto); return(Ok()); }
public async Task <IActionResult> Post([FromBody] ClientApiDto client) { var clientDto = client.ToClientApiModel <ClientDto>(); if (!clientDto.Id.Equals(default))