Created
May 11, 2018 12:20
-
-
Save icebeam7/80f7ec8936dffe10b5259ac6b4b636f9 to your computer and use it in GitHub Desktop.
SistemaEscolar: IServicioBaseDatos.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
namespace SistemaEscolar.Servicios | |
{ | |
public interface IServicioBaseDatos<T> where T : class | |
{ | |
Task<List<T>> ObtenerTabla(); | |
Task<T> BuscarPorId(int id); | |
Task<T> Agregar(T dato); | |
Task<T> Actualizar(T dato); | |
Task<bool> Eliminar(int dato); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment