refactor: eliminadas cosas no importantes

This commit is contained in:
2024-10-20 23:59:46 -03:00
parent 313b5afdfa
commit a011b3a970
3 changed files with 1 additions and 6 deletions

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;}}