Пример #1
0
        public async void RemoveAsync_ForEntity_GoodKey_OK()
        {
            var entity = new Clientes {
                IdCliente = 1947, Nombre = "555555", Direccion = "to remove", CIF = "000000009 ", Mail = "*****@*****.**"
            };

            await instance.RemoveAsync(entity);
        }
Пример #2
0
 /// <summary>
 /// remove Async a Entity in DB (EF) for Entity
 /// </summary>
 /// <param name="entity">Entity to remove</param>
 public Task RemoveAsync(TEntity entity)
 {
     return(efRepository.RemoveAsync(entity));
 }