Ejemplo n.º 1
0
        async public Task Insert(POSInvoicePayment entity)
        {
            ServiceLayerResponse response = await _serviceLayerConnector.Post(SL_TABLE_NAME, JsonConvert.SerializeObject(entity));

            if (!response.success)
            {
                string message = $"Erro ao enviar transação de '{entity.CardCode}': {response.errorCode}-{response.errorMessage}";
                Console.WriteLine(message);
                throw new ApplicationException(message);
            }
        }
Ejemplo n.º 2
0
 public Task Update(POSInvoicePayment entity)
 {
     throw new NotImplementedException();
 }