refactor: eliminadas cosas no importantes

This commit is contained in:
fede committed 2024-10-20 23:59:46 -03:00
1 parent 313b5afdfa
commit a011b3a970
3 files changed
+1 -6

No files matched your search

+1 -4
View File
@@ -4,14 +4,11 @@ using Microsoft.EntityFrameworkCore;
namespace Modelo;
public abstract class RepositorioBase<T, S>
where T : class, new()
public abstract class RepositorioBase<S>
where S : new()
{
protected AlquilaFacilContext Context { get; set; } = new AlquilaFacilContext();
public abstract ReadOnlyCollection<T> Listar();
private static readonly S instance = new();
public static S Singleton { get{return instance;}}