public Utilisateur GetUser([FromQuery] int id) { Utilisateur Retour = null; ViewUser MyUser = DB_CURD.GetUser(id); if (MyUser != null) { Retour = new Utilisateur { IdUser = MyUser.IdUser, Pseudo = MyUser.Pseudo, Email = MyUser.Email, Organizer = MyUser.Organizer, Deleted = MyUser.Deleted, PseudoIgs = DB_CURD.GetPseudosUser(id), Resultas = DB_CURD.GetResultasOfUser(id) }; } return(Retour); }