Mercurial > altnet-hispano
view Agendas/trunk/src/Agendas.Factories/AttributeFactory.cs @ 100:cc91817a4206
Merge
author | jorge.rowies |
---|---|
date | Sat, 04 Jun 2011 22:46:06 -0300 |
parents | c8099df941bd |
children |
line wrap: on
line source
using System.Web.Mvc; using Agendas.NHibernate; namespace AltNetHispano.Agendas.Factories { public class AttributeFactory { public static ActionFilterAttribute GetNHibernateSessionPerAction() { return new NHibernateSessionPerActionAttribute(NhHelper.GetSessionFactory()); } } }