コード例 #1
0
        public IActionResult CreateLst([FromBody] List <CommonResourcesCreateModel> model)
        {
            var res = _commonResourcesServices.CreateNewList(model);

            if (!res.Succeeded)
            {
                return(BadRequest("Can not create new data"));
            }
            return(Ok(res));
        }