C# Класс Worki.Web.Areas.Backoffice.Controllers.ClientController

Наследование: BackofficeControllerBase
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddInvoiceItem() публичный Метод

Action result to return invoice item
public AddInvoiceItem ( ) : System.Web.Mvc.PartialViewResult
Результат System.Web.Mvc.PartialViewResult

ClientController() публичный Метод

public ClientController ( ILogger logger, IObjectStore objectStore, IEmailService emailService, IMembershipService membershipService, IInvoiceService invoiceService ) : System
logger ILogger
objectStore IObjectStore
emailService IEmailService
membershipService IMembershipService
invoiceService IInvoiceService
Результат System

GetInvoice() публичный Метод

Get action method to get invoice pdf
public GetInvoice ( int id, bool fromBooking ) : System.Web.Mvc.ActionResult
id int
fromBooking bool
Результат System.Web.Mvc.ActionResult

GetMonthSummary() публичный Метод

Get action method to export invoices summary
public GetMonthSummary ( int id, string date = "" ) : System.Web.Mvc.ActionResult
id int
date string
Результат System.Web.Mvc.ActionResult

Invoices() публичный Метод

Get action method to show invoices of the owner
public Invoices ( int id, string date = "" ) : System.Web.Mvc.ActionResult
id int
date string
Результат System.Web.Mvc.ActionResult

List() публичный Метод

Get action method to show clients of the owner
public List ( int page ) : System.Web.Mvc.ActionResult
page int
Результат System.Web.Mvc.ActionResult

LocalisationList() публичный Метод

Get action method to show clients of a localisation
public LocalisationList ( int id, int page ) : System.Web.Mvc.ActionResult
id int
page int
Результат System.Web.Mvc.ActionResult