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