Ejemplo n.º 1
0
 public IActionResult UpdateBroker(ViewObj.Broker broker)
 {
     _brokerService.UpdateBrokerByClientNPN(broker.ClientName, broker.NPN, broker);
     return(Ok());
 }
Ejemplo n.º 2
0
        public void UpdateBrokerByClientNPN(string clientName, string npn, ViewObj.Broker broker)
        {
            var dataBroker = _mapper.Map <DataObj.Broker>(broker);

            _brokerContainer.UpdateBrokerByClientNPN(clientName, npn, dataBroker);
        }