From a011b3a970e632848b4e3933f06d28582d239be9 Mon Sep 17 00:00:00 2001 From: fede Date: Sun, 20 Oct 2024 23:59:46 -0300 Subject: [PATCH] refactor: eliminadas cosas no importantes --- Entidades/Dto/LoginDto.cs | 1 - Front/src/assets/svelte.svg | 1 - Modelo/RepositorioBase.cs | 5 +---- 3 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 Front/src/assets/svelte.svg diff --git a/Entidades/Dto/LoginDto.cs b/Entidades/Dto/LoginDto.cs index 17f707c..795194f 100644 --- a/Entidades/Dto/LoginDto.cs +++ b/Entidades/Dto/LoginDto.cs @@ -2,7 +2,6 @@ using System.ComponentModel.DataAnnotations.Schema; namespace Entidades.Dto; -[NotMapped] public class LoginDto { public string Email {get; set;} = string.Empty; diff --git a/Front/src/assets/svelte.svg b/Front/src/assets/svelte.svg deleted file mode 100644 index c5e0848..0000000 --- a/Front/src/assets/svelte.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/Modelo/RepositorioBase.cs b/Modelo/RepositorioBase.cs index bfeb5a3..1701ca5 100644 --- a/Modelo/RepositorioBase.cs +++ b/Modelo/RepositorioBase.cs @@ -4,14 +4,11 @@ using Microsoft.EntityFrameworkCore; namespace Modelo; -public abstract class RepositorioBase - where T : class, new() +public abstract class RepositorioBase where S : new() { protected AlquilaFacilContext Context { get; set; } = new AlquilaFacilContext(); - public abstract ReadOnlyCollection Listar(); - private static readonly S instance = new(); public static S Singleton { get{return instance;}}