예제 #1
0
 public IHttpActionResult CreateClient([FromBody]ClientDTO newClient)
 {
     try
     {
         clientDA = new ClientDA();
         clientDA.CreateClient(newClient);
         return Ok();
     }
     catch (System.Exception ex)
     {
         return InternalServerError(ex);
     }
 }