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); }
public Task <int> InstertOrUpdateAsync(TEntity entity) { return(efRepository.InstertOrUpdateAsync(entity)); }