asdas
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Entidades;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.Runtime.Intrinsics.Arm;
|
||||
|
||||
namespace Modelo
|
||||
@@ -12,7 +13,10 @@ namespace Modelo
|
||||
|
||||
public override List<Lote> Listar()
|
||||
{
|
||||
return context.Lotes.ToList();
|
||||
return context.Lotes
|
||||
.AsNoTracking()
|
||||
.Include(x => x.Producto)
|
||||
.ToList();
|
||||
}
|
||||
|
||||
public Lote ObtenerPorId(int Tid)
|
||||
|
||||
Reference in New Issue
Block a user