C# Class WebApplication4.Controllers.PromocionController

Inheritance: Controller
ファイルを表示 Open project: Rxcso/PrototipoSoftware

Public Methods

Method Description
CalculaMejorPromocionEfectivo ( int idEvento ) : Promociones
CalculaMejorPromocionTarjeta ( int codEvento, int idBanco, int tipoTarjeta ) : Promociones
Delete ( string evento, string promocion ) : System.Web.Mvc.JsonResult
Delete2 ( int id, int ide ) : System.Web.Mvc.ActionResult
Index ( string evento ) : System.Web.Mvc.ActionResult
Register ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
RegisterPromocion ( ) : System.Web.Mvc.ActionResult
RegisterPromocion ( PromocionModel model ) : System.Web.Mvc.ActionResult
RegisterPromocion2 ( ) : System.Web.Mvc.ActionResult
RegisterPromocion2 ( PromocionModel2 model ) : System.Web.Mvc.ActionResult

Method Details

CalculaMejorPromocionEfectivo() public static method

public static CalculaMejorPromocionEfectivo ( int idEvento ) : Promociones
idEvento int
return WebApplication4.Models.Promociones

CalculaMejorPromocionTarjeta() public static method

public static CalculaMejorPromocionTarjeta ( int codEvento, int idBanco, int tipoTarjeta ) : Promociones
codEvento int
idBanco int
tipoTarjeta int
return WebApplication4.Models.Promociones

Delete() public method

public Delete ( string evento, string promocion ) : System.Web.Mvc.JsonResult
evento string
promocion string
return System.Web.Mvc.JsonResult

Delete2() public method

public Delete2 ( int id, int ide ) : System.Web.Mvc.ActionResult
id int
ide int
return System.Web.Mvc.ActionResult

Index() public method

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

Register() public method

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