コード例 #1
0
 public IActionResult Get(int id)
 {
     return(Ok(new string[] { RequestProcess.Serializer(RequestProcess.LoadValuesInt(id)) }));
 }
コード例 #2
0
 public IActionResult Get(string query)
 {
     return(Ok(new string[] { RequestProcess.Serializer(RequestProcess.LoadValuesString(query)) }));
     // return Ok(new Value { newsId=id , newsContent="value"+id});
 }
コード例 #3
0
 public IActionResult Get()
 {
     //return new string[] { "value1", "value2" };
     return(Ok(new string[] { RequestProcess.Serializer(RequestProcess.LoadValues()) }));
 }