custom actionfilter

Post collection

I recently came across a blog post on LosTechies detailing how AutoMapper could be used to map from models to ViewModels in MVC controllers utilising custom ActionFilters. I found this to be a fantastic way of keeping the code in our controller actions concise, avoiding 'fat controllers'. In essence it…