empezé a hacer cosas con el dbcontext, termine la clase de repositorio y añadi/implemente los skeleton de varios repositorios

This commit is contained in:
2024-08-14 02:27:25 -03:00
parent 3f526d09d6
commit 505ff5004e
12 changed files with 441 additions and 49 deletions

View File

@@ -3,8 +3,43 @@ using Entidades;
namespace Modelo
{
public sealed class RepositorioPresupuesto : IRepositorio<Presupuesto>
public sealed class RepositorioPresupuesto : Repositorio<Presupuesto>
{
private Context context;
public RepositorioPresupuesto(Context context)
{
this.context = context;
}
public IEnumerable<Presupuesto> Listar()
{
throw new NotImplementedException();
}
public Presupuesto ObtenerPorId(int Tid)
{
throw new NotImplementedException();
}
public void Add(Presupuesto t)
{
throw new NotImplementedException();
}
public void Del(Presupuesto t)
{
throw new NotImplementedException();
}
public void Mod(Presupuesto t)
{
throw new NotImplementedException();
}
public bool Guardar()
{
throw new NotImplementedException();
}
}
}