C# 클래스 Cats.Areas.Logistics.Controllers.DonationController

상속: Controller
파일 보기 프로젝트 열기: edgecomputing/cats

공개 메소드들

메소드 설명
AddNewDonation ( ) : System.Web.Mvc.ActionResult
AddNewDonationPlan ( string siNumber = null, int typeOfLoad = 1 ) : System.Web.Mvc.ActionResult
CloseLocalPlan ( int donationPlanHeaderId ) : System.Web.Mvc.ActionResult
DonationController ( IReceiptAllocationService receiptAllocationService, Cats.Services.EarlyWarning.ICommodityService commodityService, Cats.Services.Common.ICommonService commonService, Cats.Services.EarlyWarning.IShippingInstructionService shippingInstructionService, Cats.Services.EarlyWarning.GiftCertificateService giftCertificateService, Cats.Services.EarlyWarning.ICommodityTypeService commodityTypeService, Cats.Services.EarlyWarning.IHubService hubService, IDonationPlanDetailService donationPlanDetailService, IDonationPlanHeaderService donationPlanHeaderService, Cats.Services.Transaction.ITransactionService transactionService, log4net.ILog log ) : System
GetGiftCertificates ( ) : System.Web.Mvc.JsonResult
Index ( ) : System.Web.Mvc.ActionResult
Load ( string id ) : JsonResult
LoadBySi ( string id ) : ActionResult
LoadFromGiftCertificiate ( string siNumber ) : DonationViewModel
ReadDonationPlan ( [ request ) : ActionResult
Remove ( int id ) : ActionResult
Revert ( int id ) : ActionResult
Save ( DonationViewModel donationViewModel ) : ActionResult
SaveHeader ( string id ) : ActionResult
TriggerReceive ( int donationPlanId ) : bool

비공개 메소드들

메소드 설명
AddNewDonationPlan ( Cats receiptAllocationViewModel ) : System.Web.Mvc.ActionResult
DoesSIExistInDonationHeader ( string siNumber ) : System.Boolean
DoesSIExistInShippingInstruction ( string siNumber ) : int
GetNewDonationDetail ( ) : IEnumerable
InitDonationViewModel ( ) : DonationViewModel
InsertInToShippingInstructionTable ( string siNumber ) : int
LoadFromDonation ( int shippinInstructionId ) : DonationViewModel
SaveNewDonationPlan ( DonationViewModel donationViewModel, int siId ) : bool
UpdateDonationPlan ( DonationViewModel donationViewModel, int shippinInstructionId ) : bool

메소드 상세

AddNewDonation() 공개 메소드

public AddNewDonation ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

AddNewDonationPlan() 공개 메소드

public AddNewDonationPlan ( string siNumber = null, int typeOfLoad = 1 ) : System.Web.Mvc.ActionResult
siNumber string
typeOfLoad int
리턴 System.Web.Mvc.ActionResult

CloseLocalPlan() 공개 메소드

public CloseLocalPlan ( int donationPlanHeaderId ) : System.Web.Mvc.ActionResult
donationPlanHeaderId int
리턴 System.Web.Mvc.ActionResult

DonationController() 공개 메소드

public DonationController ( IReceiptAllocationService receiptAllocationService, Cats.Services.EarlyWarning.ICommodityService commodityService, Cats.Services.Common.ICommonService commonService, Cats.Services.EarlyWarning.IShippingInstructionService shippingInstructionService, Cats.Services.EarlyWarning.GiftCertificateService giftCertificateService, Cats.Services.EarlyWarning.ICommodityTypeService commodityTypeService, Cats.Services.EarlyWarning.IHubService hubService, IDonationPlanDetailService donationPlanDetailService, IDonationPlanHeaderService donationPlanHeaderService, Cats.Services.Transaction.ITransactionService transactionService, log4net.ILog log ) : System
receiptAllocationService IReceiptAllocationService
commodityService Cats.Services.EarlyWarning.ICommodityService
commonService Cats.Services.Common.ICommonService
shippingInstructionService Cats.Services.EarlyWarning.IShippingInstructionService
giftCertificateService Cats.Services.EarlyWarning.GiftCertificateService
commodityTypeService Cats.Services.EarlyWarning.ICommodityTypeService
hubService Cats.Services.EarlyWarning.IHubService
donationPlanDetailService IDonationPlanDetailService
donationPlanHeaderService IDonationPlanHeaderService
transactionService Cats.Services.Transaction.ITransactionService
log log4net.ILog
리턴 System

GetGiftCertificates() 공개 메소드

public GetGiftCertificates ( ) : System.Web.Mvc.JsonResult
리턴 System.Web.Mvc.JsonResult

Index() 공개 메소드

public Index ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

Load() 공개 메소드

public Load ( string id ) : JsonResult
id string
리턴 JsonResult

LoadBySi() 공개 메소드

public LoadBySi ( string id ) : ActionResult
id string
리턴 ActionResult

LoadFromGiftCertificiate() 공개 메소드

public LoadFromGiftCertificiate ( string siNumber ) : DonationViewModel
siNumber string
리턴 DonationViewModel

ReadDonationPlan() 공개 메소드

public ReadDonationPlan ( [ request ) : ActionResult
request [
리턴 ActionResult

Remove() 공개 메소드

public Remove ( int id ) : ActionResult
id int
리턴 ActionResult

Revert() 공개 메소드

public Revert ( int id ) : ActionResult
id int
리턴 ActionResult

Save() 공개 메소드

public Save ( DonationViewModel donationViewModel ) : ActionResult
donationViewModel DonationViewModel
리턴 ActionResult

SaveHeader() 공개 메소드

public SaveHeader ( string id ) : ActionResult
id string
리턴 ActionResult

TriggerReceive() 공개 메소드

public TriggerReceive ( int donationPlanId ) : bool
donationPlanId int
리턴 bool