C# Class Cats.Web.Hub.Controllers.GiftCertificateController

Inheritance: BaseController
Show file Open project: edgecomputing/cats Class Usage Examples

Public Methods

Method Description
ChartView ( ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ViewResult
Edit ( int id ) : System.Web.Mvc.ActionResult
GiftCertificateController ( IGiftCertificateService giftCertificateService, ICommodityService commodityService, IUserProfileService userProfileService, IReceiptAllocationService receiptAllocationService, IDetailService detailService, ICommodityTypeService commodityTypeService, IDonorService donorService, IProgramService programService, IGiftCertificateDetailService giftCertificateDetailService, IShippingInstructionService shippingInstructionService ) : System.Collections.Generic
Index ( ) : System.Web.Mvc.ViewResult
IsBillOfLoadingDuplicate ( string BillOfLoading ) : System.Web.Mvc.ActionResult
MonthlySummary ( ) : System.Web.Mvc.ActionResult
NotUnique ( string SINumber, int GiftCertificateID ) : System.Web.Mvc.ActionResult
Print ( int id ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Create ( Cats giftcertificate ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
Edit ( GiftCertificateViewModel giftcertificate ) : System.Web.Mvc.ActionResult
GenerateGiftCertificate ( List giftCertificateDetails ) : List
GetSelectedGiftCertificateDetails ( string jsonArray ) : List
InsertGiftCertificate ( Cats giftcertificate, GiftCertificate giftCertificateModel ) : void
SelectGiftCertificateDetails ( int id ) : System.Web.Mvc.ActionResult

Method Details

ChartView() public method

public ChartView ( ) : System.Web.Mvc.ActionResult
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.ViewResult
id int
return System.Web.Mvc.ViewResult

Edit() public method

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

GiftCertificateController() public method

public GiftCertificateController ( IGiftCertificateService giftCertificateService, ICommodityService commodityService, IUserProfileService userProfileService, IReceiptAllocationService receiptAllocationService, IDetailService detailService, ICommodityTypeService commodityTypeService, IDonorService donorService, IProgramService programService, IGiftCertificateDetailService giftCertificateDetailService, IShippingInstructionService shippingInstructionService ) : System.Collections.Generic
giftCertificateService IGiftCertificateService
commodityService ICommodityService
userProfileService IUserProfileService
receiptAllocationService IReceiptAllocationService
detailService IDetailService
commodityTypeService ICommodityTypeService
donorService IDonorService
programService IProgramService
giftCertificateDetailService IGiftCertificateDetailService
shippingInstructionService IShippingInstructionService
return System.Collections.Generic

Index() public method

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

IsBillOfLoadingDuplicate() public method

public IsBillOfLoadingDuplicate ( string BillOfLoading ) : System.Web.Mvc.ActionResult
BillOfLoading string
return System.Web.Mvc.ActionResult

MonthlySummary() public method

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

NotUnique() public method

public NotUnique ( string SINumber, int GiftCertificateID ) : System.Web.Mvc.ActionResult
SINumber string
GiftCertificateID int
return System.Web.Mvc.ActionResult

Print() public method

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