asdas
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Entidades;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace Modelo
|
||||
@@ -13,7 +14,9 @@ namespace Modelo
|
||||
|
||||
public override List<Cliente> Listar()
|
||||
{
|
||||
return context.Clientes.ToList();
|
||||
return context.Clientes
|
||||
.AsNoTracking()
|
||||
.ToList();
|
||||
}
|
||||
|
||||
public Cliente ObtenerPorId(Int64 Tid)
|
||||
|
||||
Reference in New Issue
Block a user