public bool RestaurantExiste(string nom) { Resto restoTrouve = bdd.Restos.FirstOrDefault(resto => resto.Nom == nom); return(restoTrouve != null); }