Démarre l'implementation

des methodes de réservation
This commit is contained in:
Paul Schneider 2015-11-23 00:44:38 +01:00
commit 66993346cb
2 changed files with 17 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2015-11-23 Paul Schneider <paul@pschneider.fr>
* FrontOfficeController.cs: Démarre l'implementation des
methodes de réservation
2015-11-23 Paul Schneider <paul@pschneider.fr>
* MEA.sql: définit la valeur MEA du profile (Main Exerted

View file

@ -249,9 +249,9 @@ namespace Yavsc.Controllers
/// Booking the specified model.
/// </summary>
/// <param name="model">Model.</param>
public ActionResult Booking (BookingQuery model)
public ActionResult EavyBooking (BookingQuery model)
{
return View ();
return View (model);
}
/// <summary>
@ -290,5 +290,15 @@ namespace Yavsc.Controllers
return View (usp);
}
/// <summary>
/// Booking the specified model.
/// </summary>
/// <param name="model">Model.</param>
public ActionResult Booking (SimpleBookingQuery model)
{
if (model.Needs == null)
model.Needs = SkillManager.FindSkill ("%");
return View (model);
}
}
}