primeros cambios
This commit is contained in:
@@ -7,11 +7,11 @@ namespace Modelo;
|
||||
public abstract class RepositorioBase<S>
|
||||
where S : new()
|
||||
{
|
||||
protected AlquilaFacilContext Context { get{ return new AlquilaFacilContext();}}
|
||||
protected AlquilaFacilContext Context { get { return new AlquilaFacilContext(); }}
|
||||
private static readonly S instance = new();
|
||||
public static S Singleton { get{return instance;}}
|
||||
public static S Singleton { get { return instance; }}
|
||||
|
||||
public bool Guardar(AlquilaFacilContext context){
|
||||
public bool Guardar(AlquilaFacilContext context) {
|
||||
bool ret = false;
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user