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