C# Class Cats.Areas.Logistics.Controllers.LocalPurchaseController

Inheritance: Controller
Mostra file Open project: edgecomputing/cats

Public Methods

Method Description
Approve ( int id ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ActionResult
GetGiftCertificateInfo ( string siNumber ) : System.Web.Mvc.JsonResult
GetMaxSINo ( ) : System.Web.Mvc.JsonResult
HubsLocalPurchaseDetail_Read ( [ request, int localPurchaseID ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
LocalPurchaseController ( ILocalPurchaseService localPurchaseService, ICommonService commonService, ILocalPurchaseDetailService localPurchaseDetailService, IGiftCertificateService giftCertificateService, IShippingInstructionService shippingInstructionService ) : System
LocalPurchaseController ( ILocalPurchaseService localPurchaseService, ICommonService commonService, ILocalPurchaseDetailService localPurchaseDetailService, IGiftCertificateService giftCertificateService, IShippingInstructionService shippingInstructionService, ICommodityService commodityService ) : System
LocalPurchase_Read ( [ request ) : System.Web.Mvc.ActionResult
PopulateLookUps ( ) : void
Revert ( int id ) : System.Web.Mvc.ActionResult
UpdateLocalPurchase ( LocalPurchaseWithDetailViewModel localPurchaseDetailViewModel ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
AddSiNumber ( string siNumber ) : int
AutoCompleteSiNumber ( string term ) : System.Web.Mvc.JsonResult
CheckAvailabilityOfSiInLocalPurchase ( string siNumber ) : System.Boolean
CheckAvilabilityOfSiNumber ( string siNumber ) : int
Create ( LocalPurchaseWithDetailViewModel localPurchaseWithDetailViewModel ) : System.Web.Mvc.ActionResult
GetLocalPurchase ( IEnumerable localPurchases ) : IEnumerable
GetLocalPurchaseDetail ( IEnumerable localPurchaseDetails ) : IEnumerable
GetNewLocalPurchaseDetail ( ) : IEnumerable
SaveNewLocalPurchase ( LocalPurchaseWithDetailViewModel localPurchaseWithDetailViewModel, int sippingInstractionID ) : bool

Method Details

Approve() public method

public Approve ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Create() public method

public Create ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Delete() public method

public Delete ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Details() public method

public Details ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

GetGiftCertificateInfo() public method

public GetGiftCertificateInfo ( string siNumber ) : System.Web.Mvc.JsonResult
siNumber string
return System.Web.Mvc.JsonResult

GetMaxSINo() public method

public GetMaxSINo ( ) : System.Web.Mvc.JsonResult
return System.Web.Mvc.JsonResult

HubsLocalPurchaseDetail_Read() public method

public HubsLocalPurchaseDetail_Read ( [ request, int localPurchaseID ) : System.Web.Mvc.ActionResult
request [
localPurchaseID int
return System.Web.Mvc.ActionResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

LocalPurchaseController() public method

public LocalPurchaseController ( ILocalPurchaseService localPurchaseService, ICommonService commonService, ILocalPurchaseDetailService localPurchaseDetailService, IGiftCertificateService giftCertificateService, IShippingInstructionService shippingInstructionService ) : System
localPurchaseService ILocalPurchaseService
commonService ICommonService
localPurchaseDetailService ILocalPurchaseDetailService
giftCertificateService IGiftCertificateService
shippingInstructionService IShippingInstructionService
return System

LocalPurchaseController() public method

public LocalPurchaseController ( ILocalPurchaseService localPurchaseService, ICommonService commonService, ILocalPurchaseDetailService localPurchaseDetailService, IGiftCertificateService giftCertificateService, IShippingInstructionService shippingInstructionService, ICommodityService commodityService ) : System
localPurchaseService ILocalPurchaseService
commonService ICommonService
localPurchaseDetailService ILocalPurchaseDetailService
giftCertificateService IGiftCertificateService
shippingInstructionService IShippingInstructionService
commodityService ICommodityService
return System

LocalPurchase_Read() public method

public LocalPurchase_Read ( [ request ) : System.Web.Mvc.ActionResult
request [
return System.Web.Mvc.ActionResult

PopulateLookUps() public method

public PopulateLookUps ( ) : void
return void

Revert() public method

public Revert ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

UpdateLocalPurchase() public method

public UpdateLocalPurchase ( LocalPurchaseWithDetailViewModel localPurchaseDetailViewModel ) : System.Web.Mvc.ActionResult
localPurchaseDetailViewModel Cats.Areas.Logistics.Models.LocalPurchaseWithDetailViewModel
return System.Web.Mvc.ActionResult