C# Класс Cats.Areas.EarlyWarning.Controllers.GiftCertificateController

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

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

Метод Описание
GiftCertificateController ( IGiftCertificateService giftCertificateService, IGiftCertificateDetailService giftCertificateDetailService, ICommonService commonService, ITransactionService transactionService, ILetterTemplateService letterTemplateService, IUnitOfWork unitofwork, IUserAccountService userAccountService, IShippingInstructionService shippingInstructionService ) : System
GiftCertificateController ( IGiftCertificateService giftCertificateService, IGiftCertificateDetailService giftCertificateDetailService, ICommonService commonService, ITransactionService transactionService, ILetterTemplateService letterTemplateService, IUnitOfWork unitofwork, IUserAccountService userAccountService, IShippingInstructionService shippingInstructionService, ILog log ) : System
IsBillOfLoadingDuplicate ( string BillOfLoading ) : System.Web.Mvc.ActionResult
NotUnique ( string siNumber, int giftCertificateId = -1 ) : System.Web.Mvc.ActionResult
ShowTemplate ( string fileName, int giftCertificateId ) : void

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

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

Метод Описание
Approve ( int GiftCertificateID ) : System.Web.Mvc.ActionResult
Approved ( int id ) : System.Web.Mvc.ActionResult
AutoCompleteSiNumber ( string term ) : System.Web.Mvc.JsonResult
Create ( ) : System.Web.Mvc.ActionResult
Create ( Cats.Areas.GiftCertificate.Models.GiftCertificateViewModel giftcertificateViewModel ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
Detail ( int id ) : System.Web.Mvc.ActionResult
Edit ( Cats.Areas.GiftCertificate.Models.GiftCertificateViewModel giftcertificate ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
GenerateTemplate ( int id ) : System.Web.Mvc.ActionResult
GetListOfCertificate ( [ request ) : System.Web.Mvc.JsonResult
GiftCertificateDetail_Create ( [ request, GiftCertificateDetailsViewModel giftCertificateDetailsViewModel, int id ) : System.Web.Mvc.ActionResult
GiftCertificateDetail_Destroy ( [ request, GiftCertificateDetailsViewModel giftCertificateDetailsViewModel ) : System.Web.Mvc.ActionResult
GiftCertificateDetail_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
GiftCertificateDetail_Update ( [ request, GiftCertificateDetailsViewModel giftCertificateDetailsViewModel ) : System.Web.Mvc.ActionResult
Index ( int id = 1 ) : System.Web.Mvc.ActionResult
LetterTemplate ( int giftceritificateId ) : System.Web.Mvc.ActionResult
PopulateLookup ( bool isNew = true, Cats giftCertificate = null ) : void
ShowLetterTemplates ( [ request ) : System.Web.Mvc.ActionResult

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

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

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

public GiftCertificateController ( IGiftCertificateService giftCertificateService, IGiftCertificateDetailService giftCertificateDetailService, ICommonService commonService, ITransactionService transactionService, ILetterTemplateService letterTemplateService, IUnitOfWork unitofwork, IUserAccountService userAccountService, IShippingInstructionService shippingInstructionService ) : System
giftCertificateService IGiftCertificateService
giftCertificateDetailService IGiftCertificateDetailService
commonService ICommonService
transactionService ITransactionService
letterTemplateService ILetterTemplateService
unitofwork IUnitOfWork
userAccountService IUserAccountService
shippingInstructionService IShippingInstructionService
Результат System

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

public GiftCertificateController ( IGiftCertificateService giftCertificateService, IGiftCertificateDetailService giftCertificateDetailService, ICommonService commonService, ITransactionService transactionService, ILetterTemplateService letterTemplateService, IUnitOfWork unitofwork, IUserAccountService userAccountService, IShippingInstructionService shippingInstructionService, ILog log ) : System
giftCertificateService IGiftCertificateService
giftCertificateDetailService IGiftCertificateDetailService
commonService ICommonService
transactionService ITransactionService
letterTemplateService ILetterTemplateService
unitofwork IUnitOfWork
userAccountService IUserAccountService
shippingInstructionService IShippingInstructionService
log ILog
Результат System

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

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

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

public NotUnique ( string siNumber, int giftCertificateId = -1 ) : System.Web.Mvc.ActionResult
siNumber string
giftCertificateId int
Результат System.Web.Mvc.ActionResult

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

public ShowTemplate ( string fileName, int giftCertificateId ) : void
fileName string
giftCertificateId int
Результат void