diff Agendas/trunk/src/Agendas.Web/DataProviders.cs @ 248:da9c295e9fa1

Nro de versiĆ³n en el footer
author nelopauselli
date Fri, 07 Oct 2011 13:02:13 -0300
parents b43dc14886e3
children c8f378272407
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/DataProviders.cs	Fri Oct 07 12:54:56 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Web/DataProviders.cs	Fri Oct 07 13:02:13 2011 -0300
@@ -41,5 +41,10 @@
 		{
 			return new[] {Roles.Administrador, Roles.Usuario};
 		}
+
+		public static string Version(this HtmlHelper helper)
+		{
+			return typeof (DataProviders).Assembly.GetName().Version.ToString();
+		}
 	}
 }