예제 #1
0
        public ActionResult CreateMany(List <Restaurant> restaurants)
        {
            var result = _restaurantService.CreatMany(restaurants);

            if (result != null)
            {
                return(StatusCode(201));
            }

            return(StatusCode(400));
        }