public PlageViewModel(int id, string nom, CommuneViewModel commune, int nombreEspeces, float surface) { this.idPlage = id; this.nomPlageProperty = nom; this.communePlage = commune; this.nbEspecesDifferentesPlage = nombreEspeces; this.surfacePlage = surface; }
public PlageViewModel(int idPlageDAO, string nomPlageDAO, CommuneViewModel m) { this.idPlageDAO = idPlageDAO; this.nomPlageDAO = nomPlageDAO; this.m = m; }