public ActionResult CreateMany(List <Restaurant> restaurants) { var result = _restaurantService.CreatMany(restaurants); if (result != null) { return(StatusCode(201)); } return(StatusCode(400)); }