コード例 #1
0
        public ActionResult AddType(NewType newType)
        {
            var newTypeSuccess = _repository.AddType(newType);

            return(Created("api/producttype", newTypeSuccess));
        }