public Task <ClientsBsDTO> UpdateProduct(string code, [FromBody] ClientsBsDTO clientToUpdate) { Log.Logger.Information("Client trying to Update Client: " + clientToUpdate); return(_clientsDB.UpdateClient(code, clientToUpdate)); }
public ClientsBsDTO AddNewClient([FromBody] ClientsBsDTO newClientdto) { Log.Logger.Information("Client trying to Create a New Client: " + newClientdto); return(_clientsDB.AddNewClient(newClientdto).Result); }