..
This commit is contained in:
@@ -10,9 +10,9 @@ namespace Project.Controller
|
||||
public class ModelController : ApiController
|
||||
{
|
||||
//private static List<Item> _values = new List<Item> {
|
||||
// new Item { Id = 1, Name = "USB2.0 연장선" },
|
||||
// new Item { Id = 2, Name = "USB3.0 연장선" },
|
||||
// new Item { Id =3, Name = "USB3.1 연장선" }
|
||||
// new Item { Id = 1, Name = "USB2.0 Extension Cable" },
|
||||
// new Item { Id = 2, Name = "USB3.0 Extension Cable" },
|
||||
// new Item { Id =3, Name = "USB3.1 Extension Cable" }
|
||||
//};
|
||||
|
||||
// GET api/values
|
||||
@@ -41,7 +41,7 @@ namespace Project.Controller
|
||||
[HttpGet]
|
||||
public IHttpActionResult Set(string id)
|
||||
{
|
||||
//지정된 모델로 변경한다.
|
||||
//Change to specified model.
|
||||
var msg = "";
|
||||
|
||||
if (id.isEmpty()) msg = "NO MODELNAME";
|
||||
|
||||
Reference in New Issue
Block a user