public void Banishment([FromBody] RequestBannissement request) { Bdd bdd = DataBaseConnection.databaseConnection(); bdd.BanningUser(request.startDate, request.duration, request.reason, request.idAccount); }