C# Class Appointments.Web.Tests.Model.InMemoryAppointmentRepository

Inheritance: IAppointmentRepository
显示文件 Open project: TwilioDevEd/appointment-reminders-csharp Class Usage Examples

Public Methods

Method Description
Create ( Appointment appointment ) : void
Delete ( int id ) : void
FindAll ( ) : IEnumerable
FindById ( int id ) : Appointment
Update ( Appointment appointment ) : void

Method Details

Create() public method

public Create ( Appointment appointment ) : void
appointment Appointment
return void

Delete() public method

public Delete ( int id ) : void
id int
return void

FindAll() public method

public FindAll ( ) : IEnumerable
return IEnumerable

FindById() public method

public FindById ( int id ) : Appointment
id int
return Appointment

Update() public method

public Update ( Appointment appointment ) : void
appointment Appointment
return void