C# Class Cats.Areas.EarlyWarning.Controllers.RationController

Inheritance: Controller
Mostrar archivo Open project: edgecomputing/cats Class Usage Examples

Public Methods

Method Description
Details ( int id ) : System.Web.Mvc.ActionResult
Dispose ( ) : void
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
Print ( int id ) : System.Web.Mvc.ActionResult
RationController ( IRationService rationService, ICommodityService commodityService, IRationDetailService rationDetailService, IUserAccountService userAccountService, log4net.ILog log ) : System
RationDetail ( int id ) : System.Web.Mvc.JsonResult
RationDetail_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
Ration_Read ( [ request ) : System.Web.Mvc.ActionResult
Rations ( ) : JsonResult
SetDefault ( int id ) : ActionResult

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
BindRationDetail ( RationDetailViewModel rationDetailViewModel ) : RationDetail
BindRationDetailViewModel ( RationDetail rationDetail ) : RationDetailViewModel
BindRationViewModel ( Ration ration ) : RationViewModel
Create ( ) : System.Web.Mvc.ActionResult
Create ( Ration ration ) : System.Web.Mvc.ActionResult
Edit ( RationViewModel rationViewModel ) : System.Web.Mvc.ActionResult
RationDetail_Create ( [ request, RationDetailViewModel rationDetailViewModel, int id ) : System.Web.Mvc.ActionResult
RationDetail_Destroy ( [ request, RationDetailViewModel rationDetailViewModel ) : System.Web.Mvc.ActionResult
RationDetail_Update ( [ request, RationDetailViewModel rationDetailViewModel ) : System.Web.Mvc.ActionResult

Method Details

Details() public method

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

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Edit() public method

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

Index() public method

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

Print() public method

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

RationController() public method

public RationController ( IRationService rationService, ICommodityService commodityService, IRationDetailService rationDetailService, IUserAccountService userAccountService, log4net.ILog log ) : System
rationService IRationService
commodityService ICommodityService
rationDetailService IRationDetailService
userAccountService IUserAccountService
log log4net.ILog
return System

RationDetail() public method

public RationDetail ( int id ) : System.Web.Mvc.JsonResult
id int
return System.Web.Mvc.JsonResult

RationDetail_Read() public method

public RationDetail_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
request [
id int
return System.Web.Mvc.ActionResult

Ration_Read() public method

public Ration_Read ( [ request ) : System.Web.Mvc.ActionResult
request [
return System.Web.Mvc.ActionResult

Rations() public method

public Rations ( ) : JsonResult
return JsonResult

SetDefault() public method

public SetDefault ( int id ) : ActionResult
id int
return ActionResult