C# Класс Cats.Areas.Logistics.Controllers.LocalPurchaseController

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

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

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

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

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

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

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

public Approve ( int id ) : System.Web.Mvc.ActionResult
id int
Результат System.Web.Mvc.ActionResult

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

public Create ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

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

public Delete ( int id ) : System.Web.Mvc.ActionResult
id int
Результат System.Web.Mvc.ActionResult

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

public Details ( int id ) : System.Web.Mvc.ActionResult
id int
Результат System.Web.Mvc.ActionResult

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

public GetGiftCertificateInfo ( string siNumber ) : System.Web.Mvc.JsonResult
siNumber string
Результат System.Web.Mvc.JsonResult

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

public GetMaxSINo ( ) : System.Web.Mvc.JsonResult
Результат System.Web.Mvc.JsonResult

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

public HubsLocalPurchaseDetail_Read ( [ request, int localPurchaseID ) : System.Web.Mvc.ActionResult
request [
localPurchaseID int
Результат System.Web.Mvc.ActionResult

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

public Index ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

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

public LocalPurchaseController ( ILocalPurchaseService localPurchaseService, ICommonService commonService, ILocalPurchaseDetailService localPurchaseDetailService, IGiftCertificateService giftCertificateService, IShippingInstructionService shippingInstructionService ) : System
localPurchaseService ILocalPurchaseService
commonService ICommonService
localPurchaseDetailService ILocalPurchaseDetailService
giftCertificateService IGiftCertificateService
shippingInstructionService IShippingInstructionService
Результат System

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

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
Результат System

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

public LocalPurchase_Read ( [ request ) : System.Web.Mvc.ActionResult
request [
Результат System.Web.Mvc.ActionResult

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

public PopulateLookUps ( ) : void
Результат void

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

public Revert ( int id ) : System.Web.Mvc.ActionResult
id int
Результат System.Web.Mvc.ActionResult

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

public UpdateLocalPurchase ( LocalPurchaseWithDetailViewModel localPurchaseDetailViewModel ) : System.Web.Mvc.ActionResult
localPurchaseDetailViewModel Cats.Areas.Logistics.Models.LocalPurchaseWithDetailViewModel
Результат System.Web.Mvc.ActionResult