Public Access
refactor: eliminadas cosas no importantes
This commit is contained in:
1 parent
313b5afdfa
commit
a011b3a970
3 files changed
+1
-6
No files matched your search
@@ -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