Interface IPhysicianRepository
- Namespace
- Core.CliniCore.Repositories
- Assembly
- Core.CliniCore.dll
Repository interface for physician profile operations. Extends generic repository with physician-specific queries.
public interface IPhysicianRepository : IRepository<PhysicianProfile>
- Inherited Members
Methods
FindBySpecialization(MedicalSpecialization)
Finds physicians by medical specialization
IEnumerable<PhysicianProfile> FindBySpecialization(MedicalSpecialization spec)
Parameters
Returns
GetAvailableOn(DateTime)
Gets physicians available on a specific date
IEnumerable<PhysicianProfile> GetAvailableOn(DateTime date)
Parameters
dateDateTime
Returns
GetByUsername(string)
Gets a physician by their username
PhysicianProfile? GetByUsername(string username)
Parameters
usernamestring