diff --git a/web/ChangeLog b/web/ChangeLog index 2d2b6dd7..521b6f18 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 7934aebf..9de5f814 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); + } } }