C# Class AirTNG.Web.Controllers.ReservationsController

Inheritance: Twilio.TwiML.Mvc.TwilioController
显示文件 Open project: TwilioDevEd/airtng-csharp Class Usage Examples

Public Methods

Method Description
Create ( int id ) : Task
ReservationsController ( ) : System
ReservationsController ( IVacationPropertiesRepository vacationPropertiesRepository, IReservationsRepository reservationsRepository, IUsersRepository usersRepository, INotifier notifier ) : System

Private Methods

Method Description
Create ( ReservationViewModel model ) : Task
Handle ( string from, string body ) : Task
Respond ( string message ) : Twilio.TwiML.TwilioResponse

Method Details

Create() public method

public Create ( int id ) : Task
id int
return Task

ReservationsController() public method

public ReservationsController ( ) : System
return System

ReservationsController() public method

public ReservationsController ( IVacationPropertiesRepository vacationPropertiesRepository, IReservationsRepository reservationsRepository, IUsersRepository usersRepository, INotifier notifier ) : System
vacationPropertiesRepository IVacationPropertiesRepository
reservationsRepository IReservationsRepository
usersRepository IUsersRepository
notifier INotifier
return System