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