public Cliente Post([FromBody] Cliente cliente) { try { ClienteDal clienteDal = new ClienteDal(); var cli = clienteDal.CrearCliente(cliente); return(cli); } catch (Exception ex) { throw; } }
public Cliente Post([FromBody] Cliente cliente) { try { ClienteDal clienteDal = new ClienteDal(); var cli = clienteDal.CrearCliente(cliente); return(cli); } catch (Exception ex) { throw; } }