Exemple #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
     });
 }
Exemple #2
0
 public bool RemoveIntervention(InterventionDto i)
 {
     return(DataAcces.RemoveIntervention(InterventionFromDto(i)));
 }
Exemple #3
0
 public bool UpdateIntervention(InterventionDto i)
 {
     return(DataAcces.UpdateIntervention(InterventionFromDto(i)));
 }
Exemple #4
0
 public bool InsertIntervention(InterventionDto i)
 {
     return(DataAcces.InsertIntervention(InterventionFromDto(i)));
 }