예제 #1
0
        public async Task <IActionResult> AddTestTable([FromBody] TestTable model)
        {
            if (ModelState.IsValid)
            {
                var TestTableID = await postRepository.AddTestTable(model);

                return(Ok(TestTableID));
            }
            return(BadRequest());
        }