with the help of windows foundation we can easily create and call workflow processes, small or large, from anywhere inside .NET code and it's been drastically improved since .NET3.5. That ease makes it practical to use workflow in places which it was previously too complicated to integrate, places where we normally manually code a process into business or web logic making it difficult to maintain and add standard features like tracing/auditing.
basically you need to Creating the MVC site and Workflow Activity Library, then you need to Creating the Workflow, Update the MVC application to use the Workflow.
check out below sample
Editor, DotNetSpider MVM
Microsoft MVP 2014 [ASP.NET/IIS]