예제 #1
0
        public ActionResult AddMainArea(AddAreaModel area)
        {
            if (!ModelState.IsValid)
            {
                return(HttpResponseHelper.Error());
            }

            var baseArea = _venueService.CreateArea(_mapper.Map <AreaDto>(area));

            return(HttpResponseHelper.Ok(new { Area = baseArea }));
        }