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