Example #1
0
 private Interventions InterventionFromDto(InterventionDto i)
 {
     return(new Interventions
     {
         IDUtilisateur = i.IDUtilisateur,
         IDContact = i.IDContact,
         DateHeure = i.DateHeure,
         UrgenceLevel = i.UrgenceLevel,
         GPSLocation = i.GPSLocation,
         Data = i.Data
     });
 }
Example #2
0
 public bool RemoveIntervention(InterventionDto i)
 {
     return(DataAcces.RemoveIntervention(InterventionFromDto(i)));
 }
Example #3
0
 public bool UpdateIntervention(InterventionDto i)
 {
     return(DataAcces.UpdateIntervention(InterventionFromDto(i)));
 }
Example #4
0
 public bool InsertIntervention(InterventionDto i)
 {
     return(DataAcces.InsertIntervention(InterventionFromDto(i)));
 }