public string Put(int id, [FromBody] DtoClient dtoClient) { _useCaseClient.Update(id, dtoClient.DtoToDomainEntity()); return("Updated"); }
public string Post([FromBody] DtoClient dtoClient) { _useCaseClient.Create(dtoClient.DtoToDomainEntity()); return("Created"); }