예제 #1
0
        public async Task <IActionResult> AddEvents(List <EventForAddDto> model)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }
            _response = await _repo.AddEvents(model);

            return(Ok(_response));
        }