Esempio n. 1
0
        public async void InsertOrUpdateAsync_GoodEntity_Updated_OK()
        {
            var entity = new Clientes {
                IdCliente = 1519, CIF = "000000009", Direccion = "changeddd", Nombre = "555555", Mail = "*****@*****.**", FechaEntrada = DateTime.Today, FormaPago = "60 días"
            };

            int result = await instance.InstertOrUpdateAsync(entity);

            Assert.Equal(1, result);
        }
Esempio n. 2
0
 public Task <int> InstertOrUpdateAsync(TEntity entity)
 {
     return(efRepository.InstertOrUpdateAsync(entity));
 }