C# Class Padaria.Web.Controllers.PayBoxController

Inheritance: Controller
Datei anzeigen Open project: mikemajesty/SistemaDegerenciamentoComercial Class Usage Examples

Private Properties

Property Type Description
ClosePayBox System.Web.Mvc.JsonResult
DeleteProductInCommand System.Web.Mvc.JsonResult
FinishSale System.Web.Mvc.ActionResult
GerValueWhenPaidWithMoney decimal
GetClosePayBox System.Web.Mvc.PartialViewResult
GetControlItens System.Web.Mvc.ActionResult
GetCurrentPayBox Padaria.Repository.Entities.PayBox
GetCurrentUser int
GetCurrentViewList System.Web.Mvc.ActionResult
GetFullSale Padaria.Repository.Entities.Sale
GetFullValue System.Web.Mvc.JsonResult
GetOpenPayBox System.Web.Mvc.ActionResult
GetQuantityProduct System.Web.Mvc.JsonResult
GetTypeOfPayment System.Web.Mvc.SelectList
InsertProduct System.Web.Mvc.ActionResult
OpenPayBox System.Web.Mvc.JsonResult
PayBox System.Web.Mvc.ActionResult
PayCredit System.Web.Mvc.ActionResult
RemoveStock void
SaveSale System.Web.Mvc.JsonResult
WhatIsThisTypeOfSale string

Public Methods

Method Description
GetValue ( ) : System.Web.Mvc.PartialViewResult
ListWithCount ( ) : void
UpdatePayBox ( int typeOfPayment ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
ClosePayBox ( PayBox payBox ) : System.Web.Mvc.JsonResult
DeleteProductInCommand ( int productID, int quantity ) : System.Web.Mvc.JsonResult
FinishSale ( int typeOfPayment ) : System.Web.Mvc.ActionResult
GerValueWhenPaidWithMoney ( int typeOfPayment ) : decimal
GetClosePayBox ( ) : System.Web.Mvc.PartialViewResult
GetControlItens ( InsertProductViewModel insertProductViewModel ) : System.Web.Mvc.ActionResult
GetCurrentPayBox ( ) : PayBox
GetCurrentUser ( string name ) : int
GetCurrentViewList ( ) : System.Web.Mvc.ActionResult
GetFullSale ( ) : Sale
GetFullValue ( ) : System.Web.Mvc.JsonResult
GetOpenPayBox ( ) : System.Web.Mvc.ActionResult
GetQuantityProduct ( ) : System.Web.Mvc.JsonResult
GetTypeOfPayment ( int typeOfRegistrationID ) : System.Web.Mvc.SelectList
InsertProduct ( InsertProductViewModel insertProductViewModel ) : System.Web.Mvc.ActionResult
OpenPayBox ( OpenPayBoxViewModel openPayBoxModal ) : System.Web.Mvc.JsonResult
PayBox ( ) : System.Web.Mvc.ActionResult
PayCredit ( decimal value ) : System.Web.Mvc.ActionResult
RemoveStock ( ) : void
SaveSale ( Sale sale ) : System.Web.Mvc.JsonResult
WhatIsThisTypeOfSale ( Product product ) : string

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetValue() public method

public GetValue ( ) : System.Web.Mvc.PartialViewResult
return System.Web.Mvc.PartialViewResult

ListWithCount() public method

public ListWithCount ( ) : void
return void

UpdatePayBox() public method

public UpdatePayBox ( int typeOfPayment ) : void
typeOfPayment int
return void