From 66993346cb4b13c8832ca7c8429523f0e6900d5c Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 23 Nov 2015 00:44:38 +0100 Subject: [PATCH] =?UTF-8?q?D=C3=A9marre=20l'implementation=20des=20methode?= =?UTF-8?q?s=20de=20r=C3=A9servation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/ChangeLog | 5 +++++ web/Controllers/FrontOfficeController.cs | 14 ++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/web/ChangeLog b/web/ChangeLog index 2d2b6dd75..521b6f185 100644 --- a/web/ChangeLog +++ b/web/ChangeLog @@ -1,3 +1,8 @@ +2015-11-23 Paul Schneider + + * FrontOfficeController.cs: Démarre l'implementation des + methodes de réservation + 2015-11-23 Paul Schneider * MEA.sql: définit la valeur MEA du profile (Main Exerted diff --git a/web/Controllers/FrontOfficeController.cs b/web/Controllers/FrontOfficeController.cs index 7934aebf4..9de5f8144 100644 --- a/web/Controllers/FrontOfficeController.cs +++ b/web/Controllers/FrontOfficeController.cs @@ -249,9 +249,9 @@ namespace Yavsc.Controllers /// Booking the specified model. /// /// Model. - public ActionResult Booking (BookingQuery model) + public ActionResult EavyBooking (BookingQuery model) { - return View (); + return View (model); } /// @@ -290,5 +290,15 @@ namespace Yavsc.Controllers return View (usp); } + /// + /// Booking the specified model. + /// + /// Model. + public ActionResult Booking (SimpleBookingQuery model) + { + if (model.Needs == null) + model.Needs = SkillManager.FindSkill ("%"); + return View (model); + } } }