Ejemplo n.º 1
0
 public IHttpActionResult GetPlanningsBack(PlanningsSearchParameters _Parameters)
 {
     return(Ok(EvenementsManager.GetPlanningsBack(
                   _Parameters.Mois,
                   _Parameters.Annee,
                   _Parameters.Plus
                   )));
 }
Ejemplo n.º 2
0
 public IHttpActionResult GetEvenements(EvenementsSearchParameters _Parameters)
 {
     return(Ok(EvenementsManager.GetEvenements(
                   _Id: _Parameters.Id,
                   _Libelle: _Parameters.Libelle,
                   _DtMin: _Parameters.DtMin,
                   _DtMax: _Parameters.DtMax,
                   _TypologieId: _Parameters.TypologieId,
                   _EvenementParentId: _Parameters.EvenementParentId,
                   _EleveId: _Parameters.EleveId,
                   _OnlyParentsYN: _Parameters.OnlyParentsYN,
                   _Top: _Parameters.Top
                   )));
 }
Ejemplo n.º 3
0
 public IHttpActionResult UpdPlanning(Planning _Planning)
 {
     return(Ok(EvenementsManager.UpdPlanning(
                   _Id: _Planning.Id,
                   _Jour: _Planning.Jour,
                   _Creneau0809: _Planning.Creneau0809,
                   _Creneau0910: _Planning.Creneau0910,
                   _Creneau1011: _Planning.Creneau1011,
                   _Creneau1112: _Planning.Creneau1112,
                   _Creneau1213: _Planning.Creneau1213,
                   _Creneau1314: _Planning.Creneau1314,
                   _Creneau1415: _Planning.Creneau1415,
                   _Creneau1516: _Planning.Creneau1516,
                   _Creneau1617: _Planning.Creneau1617,
                   _Creneau1718: _Planning.Creneau1718,
                   _Creneau1819: _Planning.Creneau1819,
                   _Creneau1920: _Planning.Creneau1920
                   )));
 }
Ejemplo n.º 4
0
 public IHttpActionResult AddEvenement(Evenement _Evenement)
 {
     return(Ok(EvenementsManager.AddEvenement(
                   _Id: _Evenement.Id,
                   _Libelle: _Evenement.Libelle,
                   _Descriptif: _Evenement.Descriptif,
                   _Minimum: _Evenement.Minimum,
                   _Maximum: _Evenement.Maximum,
                   _Prix: _Evenement.Prix,
                   _Duree: _Evenement.Duree,
                   _DtDebut: _Evenement.DtDebut,
                   _DtFin: _Evenement.DtFin,
                   _DtLimiteInscription: _Evenement.DtLimiteInscription,
                   _Logo: _Evenement.Logo,
                   _Photo: _Evenement.Photo,
                   _Bandeau: _Evenement.Bandeau,
                   _Lien: _Evenement.Lien,
                   _TypologieId: _Evenement.Typologie.Id,
                   _EvenementParentId: (_Evenement.EvenementParent != null ? _Evenement.EvenementParent.Id : null)                                //pas instancié à la création de l'évènement
                   )));
 }
Ejemplo n.º 5
0
 public IHttpActionResult GetPlanningsFront(PlanningsSearchParameters _Parameters)
 {
     return(Ok(EvenementsManager.GetPlanningsFront(_Parameters.EvenementId, _Parameters.Jour)));
 }
Ejemplo n.º 6
0
 public IHttpActionResult DelEvenement(Int32?_Id = null)
 {
     return(Ok(EvenementsManager.DelEvenement(_Id)));
 }
Ejemplo n.º 7
0
 public IHttpActionResult UpdPlannings(List <Planning> _Plannings)
 {
     return(Ok(EvenementsManager.UpdPlannings(_Plannings)));
 }