C# Class EA.Iws.Web.Areas.NotificationApplication.Controllers.BaseWasteCodeController

Inheritance: Controller
Datei anzeigen Open project: EnvironmentAgency/prsd-iws

Protected Properties

Property Type Description
Mediator IMediator

Public Methods

Method Description
Post ( System.Guid id, BaseWasteCodeViewModel viewModel, string command, string remove, bool backToOverview ) : Task

Protected Methods

Method Description
AddAction ( BaseWasteCodeViewModel viewModel ) : System.Web.Mvc.ActionResult
BackToOverviewResult ( System.Guid id ) : System.Web.Mvc.ActionResult
BaseWasteCodeController ( IMediator mediator, CodeType codeType ) : System
ContinueAction ( System.Guid id, BaseWasteCodeViewModel viewModel, bool backToOverview ) : Task
RebindModel ( System.Guid id, BaseWasteCodeViewModel viewModel ) : System.Threading.Tasks.Task
RemoveAction ( BaseWasteCodeViewModel viewModel ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
AddCodeToViewModel ( BaseWasteCodeViewModel viewModel ) : void
HasASelectedCode ( BaseWasteCodeViewModel viewModel ) : bool

Method Details

AddAction() protected method

protected AddAction ( BaseWasteCodeViewModel viewModel ) : System.Web.Mvc.ActionResult
viewModel BaseWasteCodeViewModel
return System.Web.Mvc.ActionResult

BackToOverviewResult() protected method

protected BackToOverviewResult ( System.Guid id ) : System.Web.Mvc.ActionResult
id System.Guid
return System.Web.Mvc.ActionResult

BaseWasteCodeController() protected method

protected BaseWasteCodeController ( IMediator mediator, CodeType codeType ) : System
mediator IMediator
codeType CodeType
return System

ContinueAction() protected abstract method

protected abstract ContinueAction ( System.Guid id, BaseWasteCodeViewModel viewModel, bool backToOverview ) : Task
id System.Guid
viewModel BaseWasteCodeViewModel
backToOverview bool
return Task

Post() public method

public Post ( System.Guid id, BaseWasteCodeViewModel viewModel, string command, string remove, bool backToOverview ) : Task
id System.Guid
viewModel BaseWasteCodeViewModel
command string
remove string
backToOverview bool
return Task

RebindModel() protected method

protected RebindModel ( System.Guid id, BaseWasteCodeViewModel viewModel ) : System.Threading.Tasks.Task
id System.Guid
viewModel BaseWasteCodeViewModel
return System.Threading.Tasks.Task

RemoveAction() protected method

protected RemoveAction ( BaseWasteCodeViewModel viewModel ) : System.Web.Mvc.ActionResult
viewModel BaseWasteCodeViewModel
return System.Web.Mvc.ActionResult

Property Details

Mediator protected_oe property

protected IMediator Mediator
return IMediator