refactor: eliminadas cosas no importantes
This commit is contained in:
@@ -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;}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user