primeros cambios

This commit is contained in:
2024-11-11 11:55:45 -03:00
parent 9d381f6f76
commit 52e4afb7c4
10 changed files with 117 additions and 20 deletions

View File

@@ -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
{