using BMA.EHR.Domain.Common; using Microsoft.AspNetCore.Http; namespace BMA.EHR.Application.Common.Interfaces { public interface IGenericRepository where T : class { Task GetByIdAsync(S id); Task> GetAllAsync(); Task AddAsync(T entity); Task UpdateAsync(T entity); Task DeleteAsync(T entity); } }