C# Class Worki.Web.Areas.Backoffice.Controllers.LocalisationController

Inheritance: BackofficeControllerBase
Show file Open project: tah91/eworkyWebSite

Private Properties

Property Type Description
Booking System.Web.Mvc.ActionResult
BookingDetail System.Web.Mvc.ActionResult
ConfirmBooking System.Web.Mvc.ActionResult
ConfirmBooking System.Web.Mvc.ActionResult
ConfirmBooking System.Web.Mvc.ActionResult
Edit System.Web.Mvc.ActionResult
Edit System.Web.Mvc.ActionResult
Edit System.Web.Mvc.ActionResult
HorizontalMenu System.Web.Mvc.ActionResult
HorizontalMenu System.Web.Mvc.ActionResult
Index System.Web.Mvc.ActionResult
LocalisationController System
Quotation System.Web.Mvc.ActionResult
QuotationAccepted System.Web.Mvc.ActionResult
QuotationAccepted System.Web.Mvc.ActionResult
QuotationCancelled System.Web.Mvc.ActionResult
QuotationCancelled System.Web.Mvc.ActionResult
QuotationDetail System.Web.Mvc.ActionResult
ReadBookingLog System.Web.Mvc.ActionResult
ReadQuotationLog System.Web.Mvc.ActionResult
RedirectToAction System.Web.Mvc.RedirectToRouteResult
RefuseBooking System.Web.Mvc.ActionResult
RefuseBooking System.Web.Mvc.ActionResult
RefuseBooking System.Web.Mvc.ActionResult
RefuseQuotation System.Web.Mvc.ActionResult
RefuseQuotation System.Web.Mvc.ActionResult
RefuseQuotation System.Web.Mvc.ActionResult
VerticalMenu System.Web.Mvc.ActionResult
VerticalMenu System.Web.Mvc.ActionResult

Public Methods

Method Description
Booking ( int id, int page = 1 ) : System.Web.Mvc.ActionResult

Get action method to show bookings of the owner, for a given localisation

BookingDetail ( int id ) : System.Web.Mvc.ActionResult

Get action method to show booking detail

Index ( int id ) : System.Web.Mvc.ActionResult

Get action result to show recent activities of the owner localisation

LocalisationController ( ILogger logger, IObjectStore objectStore, IEmailService emailService ) : System
Quotation ( int id, int page = 1 ) : System.Web.Mvc.ActionResult

Get action method to show quotations of the owner, for a given localisation

QuotationDetail ( int id, bool paypal = false ) : System.Web.Mvc.ActionResult

Get action method to show quotation detail

ReadBookingLog ( int id ) : System.Web.Mvc.ActionResult

Get action method to read booking log

ReadQuotationLog ( int id ) : System.Web.Mvc.ActionResult

Get action method to read quotation log

Private Methods

Method Description
Booking ( ) : System.Web.Mvc.ActionResult
BookingDetail ( ) : System.Web.Mvc.ActionResult
ConfirmBooking ( ) : System.Web.Mvc.ActionResult
ConfirmBooking ( int id ) : System.Web.Mvc.ActionResult
ConfirmBooking ( int id, LocalisationModel memberBooking ) : System.Web.Mvc.ActionResult
Edit ( LocalisationFormViewModel localisationForm, int id, string addOffer ) : System.Web.Mvc.ActionResult
Edit ( ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
HorizontalMenu ( ) : System.Web.Mvc.ActionResult
HorizontalMenu ( int id, LocalisationMainMenu selected ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
LocalisationController ( Dummy d ) : System
Quotation ( ) : System.Web.Mvc.ActionResult
QuotationAccepted ( ) : System.Web.Mvc.ActionResult
QuotationAccepted ( int id ) : System.Web.Mvc.ActionResult
QuotationCancelled ( ) : System.Web.Mvc.ActionResult
QuotationCancelled ( int id ) : System.Web.Mvc.ActionResult
QuotationDetail ( ) : System.Web.Mvc.ActionResult
ReadBookingLog ( ) : System.Web.Mvc.ActionResult
ReadQuotationLog ( ) : System.Web.Mvc.ActionResult
RedirectToAction ( System.Web.Mvc.ActionResult result ) : System.Web.Mvc.RedirectToRouteResult
RefuseBooking ( ) : System.Web.Mvc.ActionResult
RefuseBooking ( int id, LocalisationModel formModel, string confirm ) : System.Web.Mvc.ActionResult
RefuseBooking ( int id, string returnUrl ) : System.Web.Mvc.ActionResult
RefuseQuotation ( ) : System.Web.Mvc.ActionResult
RefuseQuotation ( int id, LocalisationModel formModel, string confirm ) : System.Web.Mvc.ActionResult
RefuseQuotation ( int id, string returnUrl ) : System.Web.Mvc.ActionResult
VerticalMenu ( ) : System.Web.Mvc.ActionResult
VerticalMenu ( int id, int selected ) : System.Web.Mvc.ActionResult

Method Details

Booking() public method

Get action method to show bookings of the owner, for a given localisation
public Booking ( int id, int page = 1 ) : System.Web.Mvc.ActionResult
id int id of the localisation
page int
return System.Web.Mvc.ActionResult

BookingDetail() public method

Get action method to show booking detail
public BookingDetail ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Index() public method

Get action result to show recent activities of the owner localisation
public Index ( int id ) : System.Web.Mvc.ActionResult
id int id of the localisation
return System.Web.Mvc.ActionResult

LocalisationController() public method

public LocalisationController ( ILogger logger, IObjectStore objectStore, IEmailService emailService ) : System
logger ILogger
objectStore IObjectStore
emailService IEmailService
return System

Quotation() public method

Get action method to show quotations of the owner, for a given localisation
public Quotation ( int id, int page = 1 ) : System.Web.Mvc.ActionResult
id int id of the localisation
page int
return System.Web.Mvc.ActionResult

QuotationDetail() public method

Get action method to show quotation detail
public QuotationDetail ( int id, bool paypal = false ) : System.Web.Mvc.ActionResult
id int
paypal bool
return System.Web.Mvc.ActionResult

ReadBookingLog() public method

Get action method to read booking log
public ReadBookingLog ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

ReadQuotationLog() public method

Get action method to read quotation log
public ReadQuotationLog ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult