notification target
This commit is contained in:
parent
1f5e6cf2e1
commit
955752a184
6 changed files with 2234 additions and 23 deletions
|
|
@ -186,6 +186,9 @@ namespace Yavsc.Controllers
|
|||
|
||||
if (ModelState.IsValid)
|
||||
{
|
||||
// Une prestation pour enfant ou homme inclut toujours la coupe.
|
||||
if (model.Prestation.Gender != HairCutGenders.Women)
|
||||
model.Prestation.Cut = true;
|
||||
if (model.Location!=null) {
|
||||
var existingLocation = await _context.Locations.FirstOrDefaultAsync( x=>x.Address == model.Location.Address
|
||||
&& x.Longitude == model.Location.Longitude && x.Latitude == model.Location.Latitude );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue