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

Inheritance: BackofficeControllerBase
Datei anzeigen Open project: tah91/eworkyWebSite

Private Properties

Property Type Description
Add System.Web.Mvc.ActionResult
Add System.Web.Mvc.ActionResult
Add System.Web.Mvc.ActionResult
ClientController System
CreateInvoice System.Web.Mvc.ActionResult
CreateInvoice System.Web.Mvc.ActionResult
CreateInvoice System.Web.Mvc.ActionResult
Edit System.Web.Mvc.ActionResult
Edit System.Web.Mvc.ActionResult
Edit System.Web.Mvc.ActionResult
GetInvoice System.Web.Mvc.ActionResult
GetMonthSummary System.Web.Mvc.ActionResult
Invoices System.Web.Mvc.ActionResult
List System.Web.Mvc.ActionResult
LocalisationList System.Web.Mvc.ActionResult
RedirectToAction System.Web.Mvc.RedirectToRouteResult

Public Methods

Method Description
AddInvoiceItem ( ) : System.Web.Mvc.PartialViewResult

Action result to return invoice item

ClientController ( ILogger logger, IObjectStore objectStore, IEmailService emailService, IMembershipService membershipService, IInvoiceService invoiceService ) : System
GetInvoice ( int id, bool fromBooking ) : System.Web.Mvc.ActionResult

Get action method to get invoice pdf

GetMonthSummary ( int id, string date = "" ) : System.Web.Mvc.ActionResult

Get action method to export invoices summary

Invoices ( int id, string date = "" ) : System.Web.Mvc.ActionResult

Get action method to show invoices of the owner

List ( int page ) : System.Web.Mvc.ActionResult

Get action method to show clients of the owner

LocalisationList ( int id, int page ) : System.Web.Mvc.ActionResult

Get action method to show clients of a localisation

Private Methods

Method Description
Add ( ) : System.Web.Mvc.ActionResult
Add ( int id ) : System.Web.Mvc.ActionResult
Add ( int id, LocalisationModel formData ) : System.Web.Mvc.ActionResult
ClientController ( Dummy d ) : System
CreateInvoice ( ) : System.Web.Mvc.ActionResult
CreateInvoice ( int id ) : System.Web.Mvc.ActionResult
CreateInvoice ( int id, InvoiceFormViewModel model ) : System.Web.Mvc.ActionResult
Edit ( ) : System.Web.Mvc.ActionResult
Edit ( int id, int clientId ) : System.Web.Mvc.ActionResult
Edit ( int id, int clientId, LocalisationModel formData ) : System.Web.Mvc.ActionResult
GetInvoice ( ) : System.Web.Mvc.ActionResult
GetMonthSummary ( ) : System.Web.Mvc.ActionResult
Invoices ( ) : System.Web.Mvc.ActionResult
List ( ) : System.Web.Mvc.ActionResult
LocalisationList ( ) : System.Web.Mvc.ActionResult
RedirectToAction ( System.Web.Mvc.ActionResult result ) : System.Web.Mvc.RedirectToRouteResult

Method Details

AddInvoiceItem() public method

Action result to return invoice item
public AddInvoiceItem ( ) : System.Web.Mvc.PartialViewResult
return System.Web.Mvc.PartialViewResult

ClientController() public method

public ClientController ( ILogger logger, IObjectStore objectStore, IEmailService emailService, IMembershipService membershipService, IInvoiceService invoiceService ) : System
logger ILogger
objectStore IObjectStore
emailService IEmailService
membershipService IMembershipService
invoiceService IInvoiceService
return System

GetInvoice() public method

Get action method to get invoice pdf
public GetInvoice ( int id, bool fromBooking ) : System.Web.Mvc.ActionResult
id int
fromBooking bool
return System.Web.Mvc.ActionResult

GetMonthSummary() public method

Get action method to export invoices summary
public GetMonthSummary ( int id, string date = "" ) : System.Web.Mvc.ActionResult
id int
date string
return System.Web.Mvc.ActionResult

Invoices() public method

Get action method to show invoices of the owner
public Invoices ( int id, string date = "" ) : System.Web.Mvc.ActionResult
id int
date string
return System.Web.Mvc.ActionResult

List() public method

Get action method to show clients of the owner
public List ( int page ) : System.Web.Mvc.ActionResult
page int
return System.Web.Mvc.ActionResult

LocalisationList() public method

Get action method to show clients of a localisation
public LocalisationList ( int id, int page ) : System.Web.Mvc.ActionResult
id int
page int
return System.Web.Mvc.ActionResult