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); } }
public Task Update(POSInvoicePayment entity) { throw new NotImplementedException(); }