public ActionResult <Rootobject> CreateManyPhotos(string tag) { var listPhotosCreated = _photoService.CreateManyByTag(tag); if (listPhotosCreated == null) { return(BadRequest("Recherche déjà effectuée")); } return(listPhotosCreated); }