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

            return(Ok(_response));
        }