예제 #1
0
        public IHttpActionResult PostStatus(Status status)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            Status CreateStatus = _statusService.CreatStatus(status);

            return(Ok(CreateStatus));
        }