ProximosEventos { get; set; }
}
- public class AgendaNewModel
+ public class EventoNewModel
{
[Required(ErrorMessage = "debe ingresar el título")]
public string Titulo { get; set; }
@@ -22,7 +22,7 @@
public DateTime Fecha { get; set; }
}
- public class AgendaEditModel
+ public class EventoEditModel
{
[HiddenInput(DisplayValue = false)]
public string Id { get; set; }
diff -r 41b283d27e3e -r e8d2be47a6b0 Agendas/trunk/src/Agendas.Web/Views/Agenda/Edit.cshtml
--- a/Agendas/trunk/src/Agendas.Web/Views/Agenda/Edit.cshtml Tue Mar 15 07:49:53 2011 -0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-@model Agendas.Web.Models.AgendaEditModel
-@{
- ViewBag.Title = "Agenda";
-}
-
-
- Modifique los datos que desea corregir y presione guardar
-
-
-
-
-
-
-
-
-
-
-@using (Html.BeginForm())
-{
- @Html.ValidationSummary(true, "Los datos ingresados no son validos, por favor verifíquelos")
-
-
-
-}
\ No newline at end of file
diff -r 41b283d27e3e -r e8d2be47a6b0 Agendas/trunk/src/Agendas.Web/Views/Agenda/Index.cshtml
--- a/Agendas/trunk/src/Agendas.Web/Views/Agenda/Index.cshtml Tue Mar 15 07:49:53 2011 -0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-@model Agendas.Web.Models.AgendaIndexModel
-@{
- ViewBag.Title = "Agenda";
-}
-
-
- Los próximos eventos son:
-
-
-
-
- Evento |
- Acciones |
-
-
-
- @foreach (var item in Model.ProximosEventos)
- {
-
- @item.Titulo |
- @Html.ActionLink("Modificar", "Edit", new { id = item.Id }) |
-
- }
-
-
-
-
-@Html.ActionLink("Nuevo", "New")
-
diff -r 41b283d27e3e -r e8d2be47a6b0 Agendas/trunk/src/Agendas.Web/Views/Agenda/New.cshtml
--- a/Agendas/trunk/src/Agendas.Web/Views/Agenda/New.cshtml Tue Mar 15 07:49:53 2011 -0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-@model Agendas.Web.Models.AgendaNewModel
-@{
- ViewBag.Title = "Agenda";
-}
-
-
- Complete los siguiente datos para agendar un nuevo evento
-
-
-
-
-
-
-
-
-
-
-@using (Html.BeginForm())
-{
- @Html.ValidationSummary(true, "Los datos ingresados no son validos, por favor verifíquelos")
-
-
-
-}
\ No newline at end of file
diff -r 41b283d27e3e -r e8d2be47a6b0 Agendas/trunk/src/Agendas.Web/Views/Evento/Edit.cshtml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Agendas/trunk/src/Agendas.Web/Views/Evento/Edit.cshtml Tue Mar 15 08:24:18 2011 -0300
@@ -0,0 +1,34 @@
+@model Agendas.Web.Models.EventoEditModel
+@{
+ ViewBag.Title = "Agenda";
+}
+
+
+ Modifique los datos que desea corregir y presione guardar
+
+
+
+
+
+
+
+
+
+
+@using (Html.BeginForm())
+{
+ @Html.ValidationSummary(true, "Los datos ingresados no son validos, por favor verifíquelos")
+
+
+
+}
\ No newline at end of file
diff -r 41b283d27e3e -r e8d2be47a6b0 Agendas/trunk/src/Agendas.Web/Views/Evento/Index.cshtml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Agendas/trunk/src/Agendas.Web/Views/Evento/Index.cshtml Tue Mar 15 08:24:18 2011 -0300
@@ -0,0 +1,29 @@
+@model Agendas.Web.Models.EventoIndexModel
+@{
+ ViewBag.Title = "Agenda";
+}
+
+
+ Los próximos eventos son:
+
+
+
+
+ Evento |
+ Acciones |
+
+
+
+ @foreach (var item in Model.ProximosEventos)
+ {
+
+ @item.Titulo |
+ @Html.ActionLink("Modificar", "Edit", new { id = item.Id }) |
+
+ }
+
+
+
+
+@Html.ActionLink("Nuevo", "New")
+
diff -r 41b283d27e3e -r e8d2be47a6b0 Agendas/trunk/src/Agendas.Web/Views/Evento/New.cshtml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Agendas/trunk/src/Agendas.Web/Views/Evento/New.cshtml Tue Mar 15 08:24:18 2011 -0300
@@ -0,0 +1,34 @@
+@model Agendas.Web.Models.EventoNewModel
+@{
+ ViewBag.Title = "Agenda";
+}
+
+
+ Complete los siguiente datos para agendar un nuevo evento
+
+
+
+
+
+
+
+
+
+
+@using (Html.BeginForm())
+{
+ @Html.ValidationSummary(true, "Los datos ingresados no son validos, por favor verifíquelos")
+
+
+
+}
\ No newline at end of file
diff -r 41b283d27e3e -r e8d2be47a6b0 Agendas/trunk/src/Agendas.Web/Views/Shared/_Layout.cshtml
--- a/Agendas/trunk/src/Agendas.Web/Views/Shared/_Layout.cshtml Tue Mar 15 07:49:53 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Web/Views/Shared/_Layout.cshtml Tue Mar 15 08:24:18 2011 -0300
@@ -21,7 +21,7 @@