16 lines
428 B
C#
16 lines
428 B
C#
using System;
|
|
using System.Collections.ObjectModel;
|
|
|
|
namespace Modelo
|
|
{
|
|
public abstract class IRepositorio<T>
|
|
{
|
|
// Lista el contenido del repositorio
|
|
public IEnumerable<Student> Listar();
|
|
public abstract T ObtenerPorId(int Tid);
|
|
public abstract void Add(T t);
|
|
public abstract void Del(T t);
|
|
public abstract void Mod(T t);
|
|
public abstract bool Guardar();
|
|
}
|
|
} |