Table of Contents

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

spec MedicalSpecialization

Returns

IEnumerable<PhysicianProfile>

GetAvailableOn(DateTime)

Gets physicians available on a specific date

IEnumerable<PhysicianProfile> GetAvailableOn(DateTime date)

Parameters

date DateTime

Returns

IEnumerable<PhysicianProfile>

GetByUsername(string)

Gets a physician by their username

PhysicianProfile? GetByUsername(string username)

Parameters

username string

Returns

PhysicianProfile