lundi 14 décembre 2015

Which design pattern fit for this scenario C#?

I am working on an C# MVC application. I have a scenario where I want to know which design patter will be best fit for it.

The scenario is:

I have to perform some sequence of steps for an entity. Like:

Step-1 Entity Created
Step-2 Entity Approved
Step-3 Entity Assigned to someone
Step-4 Entity Publish
..
....

These steps are configured means at any point of time admin can switch on/off some non-mandatory steps. Like:

If admin switched off step-2 then after step-1 I need to move directly on step-3.

Can anyone please help me to identify the design pattern for the above mentioned scenario.

Thanks

Aucun commentaire:

Enregistrer un commentaire