public ActionResult Licence(int id) { session.SetCurrentUserIsAdmin(true); session.SetCurrentLicenceId(id); var model = licenceBuilder.Build <AdminLicenceViewModel>(id); return(View("Application", model)); }