C# Class HBS.Data.Concrete.AppointmentRepository

Inheritance: BaseRepository, IAppointmentRepository
Show file Open project: heartbeatservice/HeartbeatServiceSolution

Public Methods

Method Description
AddAppointment ( Appointment appointment ) : int
GetCustomerAppointments ( int companyid, bool dashboardFlag ) : List
GetCustomerAppointments ( int companyid, int customerId, int professionalId, System.DateTime startDate, Nullable endDate ) : List
GetProfessionalAppointments ( int professionalId, System.DateTime appointmentDate ) : List
UpdateAppointment ( Appointment appointment ) : bool

Method Details

AddAppointment() public method

public AddAppointment ( Appointment appointment ) : int
appointment HBS.Entities.Appointment
return int

GetCustomerAppointments() public method

public GetCustomerAppointments ( int companyid, bool dashboardFlag ) : List
companyid int
dashboardFlag bool
return List

GetCustomerAppointments() public method

public GetCustomerAppointments ( int companyid, int customerId, int professionalId, System.DateTime startDate, Nullable endDate ) : List
companyid int
customerId int
professionalId int
startDate System.DateTime
endDate Nullable
return List

GetProfessionalAppointments() public method

public GetProfessionalAppointments ( int professionalId, System.DateTime appointmentDate ) : List
professionalId int
appointmentDate System.DateTime
return List

UpdateAppointment() public method

public UpdateAppointment ( Appointment appointment ) : bool
appointment HBS.Entities.Appointment
return bool