BathhouseManagment/Models/Interfaces/IRepository.cs

11 lines
263 B
C#

using System.Collections.Generic;
namespace BathHouseManagmet.Models.Interfaces;
public interface IRepository<T> where T : class
{
List<T> GetPage(int pageNumber, int pageSize);
bool Add(T entity);
bool Update(T entity);
bool Delete(T entity);
}